Core API

The BulmaJS core has a few helper methods to aid with plugin developers and anyone who wishes to tweak their usage to suit their application and hook into some more advanced functionality. You can find all of the methods documented below.

Bulma.parseDocument([context: HTMLElement = document])

This method allows you to trigger the parsing of the data attributes for all of the registered plugins. By default this will use document as the content, however, you can also provide a custom context.

Should you need the automatic calling of this method when BulmaJS loads disabling, you can do so by specifying the autoParseDocument option within the global bulmaOptions object. This should be defined before BulmaJS has loaded.

window.bulmaOptions = {
    ...
    autoParseDocument: false
}
New 0.12