Constructors
constructor
- new PF1TextEnricher(id, pattern, enricher, interaction?): PF1TextEnricher
Parameters
- id: string
- pattern: RegExp
- enricher: Function
Optional
interaction: {
click: undefined | Function;
drag: undefined | Function;
match: undefined | string[];
} = {}click: undefined | Function
drag: undefined | Function
match: undefined | string[]
Properties
Methods
Abstract
click
- click(event, target): void
Parameters
- event: Event
- target: HTMLElement
Returns void
Abstract
drag
- drag(event, target): void
Parameters
- event: Event
- target: HTMLElement
Returns void
Helper class for making
CONFIG.TextEditor.enrichers
usage easier.