Skip to content

Module: lib/dom/plugins/domSmithSelect

DomSmith plugin that just takes all <select> and wraps them.

Version
1.0.0
Author
Frank Kudermann - alphanull
License
MIT
Source
domSmithSelect.js, line 1

Methods

inner addNode(nodeDef) DomSmith~NodeDefinition|undefined

Hook called by DomSmith during node creation.

Parameters:
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.

Parameters:
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