Published March 17, 2018
| Version v5.0.0
Software
Open
LibCrowds/libcrowds-viewer: v5.0.0
Creators
Description
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-buttons
option. - Where default modals, such as the share modal, the same functionality can be achieved by adding a custom modal using the
lv-modal
component.
See the docs for more details.
Breaking changes- The
navigation
viewer config option has been removed - The
generator
task config option has been removed - The
creator
task config option has been removed - The
buttons
viewer config option has split intotoolbar-buttons
andsidebar-buttons
- The
like
button has been remove, along with theliked
task config option - The
show-note
options has been removed - The
share
button and modal have been removed - Dropped support for node.js <= 5
- Custom toolbar buttons can be added via the
toolbar-buttons
viewer config option - All toolbar button clicks will emit a
toolbarbtnclick
event - Custom modals can be added with the
lv-modal
component - Add
disable-modals
option, so that the client can use their own - Task
target
configurations containing aFragmentSelector
are highlighted (rather than having to specify additionalhighlights
orbounds
options)
Files
LibCrowds/libcrowds-viewer-v5.0.0.zip
Files
(165.3 kB)
Name | Size | Download all |
---|---|---|
md5:791b530cfdba9544e05f2545d476860a
|
165.3 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/LibCrowds/libcrowds-viewer/tree/v5.0.0 (URL)