Skip to content

0.11.0

Compare
Choose a tag to compare
@VizuaaLOG VizuaaLOG released this 28 May 16:38
· 40 commits to master since this release

0.11.0

This release comes with a lot of internal changes in preparation for future improvements and features. It's advised that your project is heavily tested before launching it to production. You can find more details on the internal changes with this update in the new (and first!) BulmaJS blog post.

  • Feature Add a getFilename method to the file plugin.
  • Feature Add a setActive method to the tabs plugin. This allows for programatically changing the active tab.
  • Feature Add the ability to enable / disable a navbar's hide on scroll behavior at any time with enableHideOnScroll and disableHideOnScroll
  • Feature Add the ability to enable / disable a navbar's sticky behaviour at any time with enableSticky and disableSticky.
  • Feature Allow a plugin instance to be grabbed from an existing element. For example Bulma('.navbar').data('navbar') will return the navbar plugin instance associated with the element.
  • Feature #71 The modal plugin can have it's HTML content loaded via an AJAX request using the new bodyUrl option.
  • Bug #71 Fixed a typo within the Alert plugin that checks if the alert should be destroyed
  • Refactor Adjust how options are internally handled, renaming variables to config and implementing a ConfigBag helper class.
  • Refactor Remove the create method in favour of using the plugin's constructor method.
  • Refactor Rewrite the API so that you can select an element 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.