@discoveryjs/discovery
Advanced tools
Changelog
1.0.0-beta.53 (05-02-2021)
esbuild
for bundlinglib/preloader.js
and dist/discovery-preloader.js
)json-ext
library, that's adds support for JSON greater than 512MB on V8App#loadDataFromStream()
and App#loadDataFromFile()
methodsunsubscribe
as a second parameter for publisher's subscriber handlersource
view to highligh using CodeMirror onlysource
view syntaxes can be observed on #views-showcase:source
pagePrismjs
and related dependenciessource
view to regular views, dropped complexViews
from exportsChangelog
1.0.0-beta.52 (19-11-2020)
proxy
option for context
viewpage-header
view to pass onInit
and onChange
through to childrenChangelog
1.0.0-beta.51 (14-11-2020)
off
and disable
for disabled
to disable darkmodeChangelog
1.0.0-beta.50 (11-11-2020)
marked
module in browser
configurationbadge
viewsChangelog
1.0.0-beta.49 (11-11-2020)
markdown
view (and md
alias) based on marked<body>
Changelog
1.0.0-beta.48 (04-11-2020)
struct
view for touch devicesnav.remove(name)
method to remove nav items (#72)Widget#queryBool()
, so now when
and whenData
throws instead of silently fail (#69)tree
viewbadge
view when used in page-header
's preludesource
view crashing on highlightingsignature
view for objects in dictionary modeclassName
className
value, it's return value can be a string or an array (any other is ignored)context
's content on re-render in view tree of View inspector1.0.0-beta.4
and use setup()
method (a bit more effective in creating functions from strings)Changelog
1.0.0-beta.47 (02-11-2020)
.discovery-content-badges
-> .discovery-nav
.page_overscrolled
class name that's adding to a page element when page's content scrolled over viewport top sidepage-header
viewpassive
option support detection test and passiveCaptureOptions
for addEventListener()
in utils.dom
position
option for popup
view with possible values trigger
(by default) and pointer
(to set position according to pointer coordinates)hideOnResize
and hideIfEventOutside
options for popup
view (both true
by default)Popup#freeze()
and Popup#unfreeze()
methodsonClick
option for link viewignoreCase
option to text-match
viewtext-match
viewtree-leaf
view in non-collapsible statetoggle
view when used in toggle-group
utils
: debounce
, contentRect
, jsonStringifyInfo
, jsonStringifyAsJavaScript
, persistent
, pattern
and pointerXY
modulesChangelog
1.0.0-beta.46 (23-10-2020)
dropdown
viewdata-darkmode
to class .discovery-root-darkmode
Changelog
1.0.0-beta.45 (21-10-2020)
localStorage
is not available (e.g. due CSP restrictions)darkmode
and darkmodePersistent
settings for App
to use defaults when coresponding values in options are undefined
Changelog
1.0.0-beta.44 (21-10-2020)
text-match
view
badge
views
hint
data option to show tooltip with a hint