3.1.4 • Published 6 months ago

@financial-times/o-autoinit v3.1.4

Weekly downloads
278
License
MIT
Repository
-
Last release
6 months ago

o-autoinit MIT licensed

Auto initalise Origami components

This component comprises a standard way of firing the o.DOMContentLoaded event when the equivalent browser-native event fire, and will fire the Origami events even if the native ones have already been and gone, making this suitable for bundling with components that are loaded asyncronously.

Usage

o-autoinit is included automatically by the Origami Build Service. Manual build users may include o-autoinit to initialise Origami components but it is not the only option. See the component initialisation documentation for more information.

JavaScript

import 'o-autoinit';

The autoinit component must be imported after all components that bind to the initialisation events. If it is required more than once, subsequent requires will not have any effect, and the initialisation events may be emitted as early as the first require point.

Migration

StateMajor VersionLast Minor ReleaseMigration guide
✨ active3N/Amigrate to v3
⚠ maintained22.0.7migrate to v2
╳ deprecated11.5N/A

Contact

If you have any questions or comments about this component, or need help using it, please either raise an issue, visit #origami-support or email Origami Support.


Licence

This software is published by the Financial Times under the MIT licence.

3.1.4

6 months ago

3.1.3

2 years ago

3.1.2

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.1

3 years ago

3.0.0

3 years ago

3.0.0-beta.0

3 years ago

3.0.0-0

3 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago