doc: fix typos
This commit is contained in:
+1
-1
@@ -1391,7 +1391,7 @@ export class Terminal extends EventEmitter implements ITerminal, IDisposable, II
|
|||||||
* processed by the terminal and what keys should not.
|
* processed by the terminal and what keys should not.
|
||||||
* @param customKeyEventHandler The custom KeyboardEvent handler to attach.
|
* @param customKeyEventHandler The custom KeyboardEvent handler to attach.
|
||||||
* This is a function that takes a KeyboardEvent, allowing consumers to stop
|
* This is a function that takes a KeyboardEvent, allowing consumers to stop
|
||||||
* propogation and/or prevent the default action. The function returns whether
|
* propagation and/or prevent the default action. The function returns whether
|
||||||
* the event should be processed by xterm.js.
|
* the event should be processed by xterm.js.
|
||||||
*/
|
*/
|
||||||
public attachCustomKeyEventHandler(customKeyEventHandler: CustomKeyEventHandler): void {
|
public attachCustomKeyEventHandler(customKeyEventHandler: CustomKeyEventHandler): void {
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ export class EventEmitter extends Disposable implements IEventEmitter, IDisposab
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a disposabe listener to the EventEmitter, returning the disposable.
|
* Adds a disposable listener to the EventEmitter, returning the disposable.
|
||||||
* @param type The event type.
|
* @param type The event type.
|
||||||
* @param handler The handler for the listener.
|
* @param handler The handler for the listener.
|
||||||
*/
|
*/
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
import { IDisposable } from 'xterm';
|
import { IDisposable } from 'xterm';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a disposabe listener to a node in the DOM, returning the disposable.
|
* Adds a disposable listener to a node in the DOM, returning the disposable.
|
||||||
* @param type The event type.
|
* @param type The event type.
|
||||||
* @param handler The handler for the listener.
|
* @param handler The handler for the listener.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user