diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-10-20 10:06:57 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 11:01:45 +0100 |
commit | c2b570998811accb7a880fe42745ee0278f323e6 (patch) | |
tree | 52d6d406f56ea1b04a584f6172dae4423baf7f53 /libs/luci-lib-json | |
parent | 6b8fc99fd5897d9a0d959d567a02113ef5b2a328 (diff) |
luci-base: cbi.js: rework dropdown implementation
- Refactor event handler closures into class methods and bind them instead
- Fix quirk in dropdown placement calculation
- Different dropdown placement strategy on touch devices
- Broadcast custom "cbi-dropdown-change" event when value is changed
- Implement setValues() method to alter dropdown selection
- Prevent creating empty custom values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'libs/luci-lib-json')
0 files changed, 0 insertions, 0 deletions