@vizuaalog/bulmajs
Advanced tools
Changelog
0.12.0
onLoaded
callback that can be defined within the window.bulmaOptions
object. This is called once the library has been loaded and the DOMContentLoaded
event has been fired.parseDocument
method will now check the given context against the internal pluginsBulma.getGlobalConfig(key: string, default: mixed)
method to the core. This allows easy access to properties within the window.bulmaOptions
object and accepts a default as it's second parameter, this is null
by default.Changelog
0.11.0
getFilename
method to the file plugin.setActive
method to the tabs plugin. This allows for programatically changing the active tab.enableHideOnScroll
and disableHideOnScroll
enableSticky
and disableSticky
.Bulma('.navbar').data('navbar')
will return the navbar plugin instance associated with the element.bodyUrl
option.config
and implementing a ConfigBag
helper class.Bulma(selector)
and then call the relevant plugin. The core will then automatically pss the selector element as the root, or create an empty div as the root if nothing is provided.Changelog
0.10.3
Changelog
0.10.2
Changelog
0.10.1
Backported from master
#88 Ensure the keyup event handler is removed then a Modal is destroyed. Thanks to @luksurious Pull Request.Changelog
0.10.0
bulmaOptions
object.traverseDOM
method now accepts an optional parameter specifying an HTMLElement to use as the scope when parsing the document.destroyOnConfirm
and destroyOnCancel
options on the alert plugin have been moved to the buttons object and renamed to destroy
.closeOnConfirm
and closeOnCancel
options on the alert plugin have been moved to the buttons object and renamed to close
.onConfirm
property on the alert object has been moved to the confirm
object and renamed to onClick
.onCancel
property on the alert object has been moved to the cancel
object and renamed to onClick
.Changelog
0.9.1
closeOnCancel
, closeOnConfirm
, destroyOnCancel
and destroyOnConfirm
options. Thanks to @alexcanana.is-clipped
class. Thanks to @alexcanana.