Per-field playground
Set the options. Copy the code.
Pick a control, flip the switches and selects, and watch it update. Every field produces
both a copy-paste HTML snippet with data-* attributes and a plain vanilla
JavaScript call, so you can use whichever fits your project. Each tab also lists the
instance methods and DOM events that control exposes.
- 11 control families
- Full documented option set
- HTML attributes or JavaScript
- Methods & events per control
Live preview
The demo uses the full build and re-initialises on every change.
Enhanced with initZidanSelects() from the data attributes.
getValue(): —
Copy code
HTML lists supported attributes; JavaScript carries every selected setting.
The JavaScript tab keeps the same native markup but removes the data-*
attributes. Settings without a data attribute appear only in the JavaScript snippet.
Methods & events
The instance returned by the initializer.