DomSmith plugin that just takes all <select> and wraps them.
- Version
- 1.0.0
- License
- MIT
- Source
- domSmithSelect.js, line 1
Methods
inner addNode(nodeDef) → DomSmith~NodeDefinition|undefined
Hook called by DomSmith during node creation.
| Name | Type | Description |
|---|---|---|
nodeDef |
DomSmith~NodeDefinition |
The original node definition object. |
- Returns
-
The patched nodeDef or undefined.
- Type DomSmith~NodeDefinition | undefined
- Source
- domSmithSelect.js, line 14
inner removeNode(nodeDef) → DomSmith~NodeDefinition|undefined
Hook called by DomSmith during node removal.
| Name | Type | Description |
|---|---|---|
nodeDef |
DomSmith~NodeDefinition |
The original node definition object. |
- Returns
-
The patched nodeDef or undefined.
- Type DomSmith~NodeDefinition | undefined
- Source
- domSmithSelect.js, line 49