Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

4.2.0

Compare
Choose a tag to compare
@guillaumebriday guillaumebriday released this 09 Aug 03:21
· 4 commits to master since this release

Added

  • The controller now dispatches two events success and error so you can trigger actions accordingly.

Example:

// On `document` or on the element directly.
document.addEventListener('content-loader:success', () => {
  console.log('Content loaded successfully.')
})

document.addEventListener('content-loader:error', (e) => {
  console.error('Something went wrong.', e.detail.error)
})

v4.1.0...v4.2.0