Optional components: ComponentListOptional logErrors: booleanPrivate alpinePrivate componentsPrivate initPrivate initializedPrivate Readonly logPrivate logPrivate registerThe name of the component (must already be registered to the store.)
Static Private getStatic Private getRetrieve a registered component constructor.
The component name
ComponentConstructor
If registered, returns a callable that accepts the component constructor arguments and creates the component object. Returns undefined if not registered.
Register a generic object (alpine data) as a component.
The name of the component (registered to alpine for use with x-data.)
The function that returns component data.
Register a class inheriting from Impl.AlpineComponent as a component.
The name/symbol of the class to register as a component.
Optional name: stringThe name of the component (registered to alpine for use with x-data.)
Register a component to Alpine through Alpine.data().