Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@Yegorich555 Yegorich555 released this 18 Jan 19:31
· 11 commits to master since this release

New Features


  • BREAKING. Controls. Renamed valueToUrl/valueFromUrl to valueToStorage/valueFromStorage
  • Combobox controls (Select, SelectMany, Date, Time). Added method .renderPopup() to have ability to override popup options
  • SelectControl. SelectManyControl. RadioControl.
    • Allowed to use mixed types in $options.items. Improved JSDoc (added example)
    • Allowed to prevent closing menu via ev.preventDefault => $options.items = [{value: 1, text: (v, li) => {... li.onclick = (e) => e.preventDefault();... } }]
    • Allowed to use complex values with saving to storage (refactored methods valueToStorage/valueFromStorage)

Fixes


  • HTML. Fixed intellisense (html.json was missed in the package)
  • Styles. Textbased controls. Added opacity: 1 for button[clear]/prefix/postfix as fix when controls in a flex-row and it resizes on hover
  • Combobox controls (Select, SelectMany, Date, Time). Memory leak: menu is closed but not removed when click on body outside control