app

Namespace

app

Description:
  • Global application object

Source:

Members

(static) $target :object

Description:
  • Central app HTML element for rendering main components.

Source:
Default Value:
  • >#app-main

(static) base :string

Description:
  • Defines the root path for the application, must be framed with slashes.

Source:
Default Value:
  • >/app/

(static) components :string

Description:
  • Component classes, this is the registry of all components logic to be used with corresponding templates. Only classed derived from app.AlpineComponent will be used, internally they are registered with Alpine.data() to be reused by name.

Source:

(static) event :string

Description:
  • Event name components listen

Source:
Default Value:
  • >component:event

(static) index :string

Description:
  • Specifies a fallback component for unrecognized paths on initial load, it is used by restorePath.

Source:
Default Value:
  • >index

(static) isA :function

Description:
Source:

(static) isE :function

Description:
Source:

(static) isF :function

Description:
Source:

(static) isN :function

Description:
Source:

(static) isO :function

Description:
Source:

(static) isS :function

Description:
Source:

(static) templates :object

Description:
  • HTML templates, this is the central registry of HTML templates to be rendered on demand, this is an alternative to using <template> tags which are kept in the DOM all the time even if not used. This object can be populated in the bundle or loaded later as JSON, this all depends on the application environment.

Source: