Type Editor / @type-editor/state / plugin/PluginBase / PluginBase
Abstract Class: PluginBase
Defined in: state/src/plugin/PluginBase.ts:2
Extended by
Constructors
Constructor
ts
new PluginBase(): PluginBase;Returns
PluginBase
Methods
createKey()
ts
protected createKey(name): string;Defined in: state/src/plugin/PluginBase.ts:10
Creates a unique key by appending a counter to the given name. Each call with the same name increments the counter.
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
string