import CustomInputEvent from 'domreplay/js/domreplay/defaultEvents/inputEvent.js'Inherited Summary
| From class EventBaseClass | ||
| public static | ||
| public get abstract | Should return a string with event type, needs to be overridden by subclass. | |
| public set | replaySpeed(divider: *) Replay speed. | |
| public get abstract | Should return a list og tagnames which handlers should be subscribed to. | |
| public get | Gets the timing variable | |
| public set | Sets the replay timing variable. | |
| public set | trackerFunc(trackerFunc: function) set tracker function. | |
| public set | Set trail function | |
| public | addDomReplayBorderToElement(element: HTMLElement) add border to element. | |
| public | executeTimingRelative(func: *, ratio: float, args: *): Promise Executes function after timeout | |
| public | Gets the last stored event from storage. | |
| public abstract | handler(element: HTMLElement) This is handler called when event is dispatched. | |
| public | makeTrailForElement(element: HTMLElement): * make trail for element in HTML DOM. | |
| public | removeDomReplayBorderFromElement(element: HTMLElement) remove border from element. | |
| public abstract | This should be overridden by subclass, and should do the correct replay sequence for the event. | |
| public | Should be called when event is about to be stored. | |
| public | waits for the promise returned by this.store to be resolved. | |
| public | trackElementOnTrail(trail: Object): * track element in HTML DOM by trail. | |
| public | updateLastStored(updates: Object): * Merge update the last stored event, useful when recording input events and such. | |
Public Members
public get eventType: string source
Should return a string with event type, needs to be overridden by subclass.
Override:
EventBaseClass#eventTypepublic get tagnames: string[] source
Should return a list og tagnames which handlers should be subscribed to.
Override:
EventBaseClass#tagnamesPublic Methods
public handler(element: *) source
This is handler called when event is dispatched. Should be overridden by subclass and store event to storage.
Override:
EventBaseClass#handlerParams:
| Name | Type | Attribute | Description | 
| element | * | 
public replay(eventObject: *): * source
This should be overridden by subclass, and should do the correct replay sequence for the event.
Override:
EventBaseClass#replayParams:
| Name | Type | Attribute | Description | 
| eventObject | * | 
Return:
| * | 
