Skip to content

v0.4.0

Compare
Choose a tag to compare
@anovi anovi released this 12 Jan 19:13
· 68 commits to master since this release

Public methods:

  • scroll method added;
  • getFocus renamed to focus and now it sets focus if pass element as argument;
  • select method was changed to be called with "select" string as first argument and element as second argument.

Options:

  • focusOnhover – set focus by mousemove on items;
  • event option removed;
  • mouseMode option changed:
    • select value removed;
    • standard is now default value – it’s like hybrid from event option, but it reacts to mousedown only in multi/range selection; in single selection it reacts to click event;
    • mouseup value added – it useful for custom implementation of select control.

Other

  • Examples were added;
  • Done some optimization.