v5.0.0
This release largely cleans up options that added extra complexity but no real value to the module as they can be handled directly by the client.
- Where button options have been removed, the same functionality can be achieved by adding a custom button via the
toolbar-buttonsoption. - Where default modals, such as the share modal, the same functionality can be achieved by adding a custom modal using the
lv-modalcomponent.
See the docs for more details.
Breaking changes
- The
navigationviewer config option has been removed - The
generatortask config option has been removed - The
creatortask config option has been removed - The
buttonsviewer config option has split intotoolbar-buttonsandsidebar-buttons - The
likebutton has been remove, along with thelikedtask config option - The
show-noteoptions has been removed - The
sharebutton and modal have been removed - Dropped support for node.js <= 5
Features
- Custom toolbar buttons can be added via the
toolbar-buttonsviewer config option - All toolbar button clicks will emit a
toolbarbtnclickevent - Custom modals can be added with the
lv-modalcomponent - Add
disable-modalsoption, so that the client can use their own - Task
targetconfigurations containing aFragmentSelectorare highlighted (rather than having to specify additionalhighlightsorboundsoptions)