legacyLiosetupCallback Plugin
Legacy callback support for the liosetup global variable pattern
legacyLiosetupCallback plugin
legacyLiosetupCallback pluginAvoid using this legacy feature unless you know what you are doing and have a good reason.
| Legacy Liosetup Callback |
|---|
| always on |
examples
If you define an object like this on the window:
window.liosetup = {
callback: entity => {/* elided */}
};Exhibit: That callback will be invoked when the entity is loaded.
window.liosetup = {
callback: [
entity => {/* elided */},
entity => {/* elided */}
]
};Exhibit: Also entirely possible to pass an array, in which case we'll fan out.
Updated 13 days ago
