@netvlies/wsc-js-moduleloader
Version:
module loader to be imported in skeletons
45 lines (25 loc) • 1.1 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
## v3.0.0
- Adjusted `base` to extend HTMLElement for use of custom webcomponents
- Deleted obsolete `module-loader` component
- Implemented a license to prohibit use outside of Netvlies
## v2.0.0
- Incorporate the base module component into this module
## v1.3.0
- Added support for multiple modules on the same element, uses the same notation as classes (space separated)
## v1.2.1
- Update changelog
## v1.2.0
- Make 'data-module' the required name of the module attribute (not optional anymore)
- Add functionality to ignore already initialized modules
- Return `this` in the `load()` function for convenience
## v1.1.0
- Added new `onIdleCallback` system which by default delays modules using [requestIdleCallback](https://developers.google.com/web/updates/2015/08/using-requestidlecallback).
- Added new `data-module-priority` attribute to control the initialization priority. See readme.
## v1.0.2
- Edited export
## v1.0.1
- Changed README
## v1.0.0
- Initial release