Interface: FeatureClass<O, P, W>
A feature constructor function, aka class.
Type parameters
Name | Type | Default | Description |
---|---|---|---|
O | {} | {} | A type describing the shape of the JSON-serializable object that will be passed to the Web script. |
P | PropsSpecs<any, any> | {} | A type specifying the new properties added to the shell (capabilities to send message to the shell). |
W | WebHandlersSpecs<any> | {} | A type specifying the Web handlers added to the shell (capabilities to send message to the Web script). |
Hierarchy
- FeatureClass
Constructors
constructor
+ new FeatureClass(...args
: O extends Partial<O> ? [] | [O] : [O]): Feature<O, P, W>
Parameters:
Name | Type |
---|---|
...args | O extends Partial<O> ? [] | [O] : [O] |
Returns: Feature<O, P, W>
Properties
identifier
• identifier: string
name
• name: string