Classes
|
Class |
Description |
|---|---|
|
An implementation of | |
|
The runtime behavior for child node observation. | |
|
The default execution context for template views. | |
|
Controls the lifecycle and rendering of a | |
|
Represents styles that can be applied to a custom element. | |
|
Defines metadata for a FASTElement. | |
|
The central binding directive that bridges data expressions and DOM updates. HTMLBindingDirective fulfills three roles simultaneously: - **HTMLDirective**: Produces placeholder HTML via createHTML() during template authoring. - **ViewBehaviorFactory**: Creates behaviors (returns itself) during view creation. - **ViewBehavior / EventListener**: Attaches to a DOM node during bind, manages expression observers for reactive updates, and handles DOM events directly. The aspectType (set by HTMLDirective.assignAspect during template processing) determines which DOM "sink" function is used to apply values — e.g., setAttribute for attributes, addEventListener for events, textContent for content. | |
|
The standard View implementation, which also implements ElementView and SyntheticView. | |
|
Inlines a template into another template. | |
|
An implementation of Notifier that allows subscribers to be notified of individual property changes on an object. | |
|
The runtime behavior for template references. | |
|
A Behavior that enables advanced rendering. | |
|
A Directive that enables use of the RenderBehavior. | |
|
A behavior that renders a template for each item in an array. | |
|
A directive that configures list rendering. | |
|
A constructed JSON schema from a template | |
|
The runtime behavior for slotted node observation. | |
|
A sort array indicates new index positions of array items. | |
|
A splice map is a representation of how a previous array of items was transformed into a new array of items. Conceptually it is a list of tuples of (index, removed, addedCount) which are kept in ascending index order of. The tuple represents that at the |index|, |removed| sequence of items were removed, and counting forward from |index|, |addedCount| items were added. | |
|
An implementation of Notifier that efficiently keeps track of subscribers interested in a specific change notification on an observable subject. | |
|
A template capable of creating HTMLView instances or rendering directly to DOM. |
Abstract Classes
|
Abstract Class |
Description |
|---|---|
|
Captures a binding expression along with related information and capabilities. | |
|
A base class for node observation. | |
|
A base class used for attribute directives that don't need internal state. |
Enumerations
|
Enumeration |
Description |
|---|---|
|
The various lifecycle stages of an ElementController. |
Functions
|
Function |
Description |
|---|---|
|
Decorator: Specifies an HTML attribute. | |
|
Decorator: Specifies an HTML attribute. | |
|
A directive that observes the | |
|
Determines if the reference element contains the test element in a "composed" DOM tree that ignores shadow DOM boundaries. Returns true of the test element is a descendent of the reference, or exists in a shadow DOM that is a logical descendent of the reference. Otherwise returns false. | |
|
Retrieves the "composed parent" element of a node, ignoring DOM tree boundaries. When the parent of a node is a shadow-root, it will return the host element of the shadow root. Otherwise it will return the parent node or null if no parent node exists. | |
|
(BETA) Creates a ComputedState. | |
|
Decorator: Defines a CSSDirective. | |
|
Decorator: Defines a platform custom element based on | |
|
Creates a function that can be used to filter a Node array, selecting only elements. | |
|
Enables human-readable FAST debug messages. | |
|
Decorator: Defines an HTMLDirective. | |
|
Enables observing the length of an array. | |
|
Creates an event listener binding. | |
|
Normalizes the input value into a binding. | |
|
Decorator: Defines an observable property on the target. | |
|
Creates a one time binding | |
|
Creates an standard binding. | |
|
(BETA) Creates a reactive state that has its value associated with a specific owner. | |
|
(BETA) Converts a plain object to a reactive, observable object. | |
|
A directive that observes the updates a property with a reference to the element. | |
|
Creates a RenderDirective for use in advanced rendering scenarios. | |
|
A directive that enables list rendering. | |
|
Creates a signal binding configuration with the supplied options. | |
|
A directive that observes the | |
|
Enables observing the sorted property of an array. | |
|
(BETA) Creates a reactive state value. | |
|
twoWay(expression, optionsOrChangeEvent, policy, isBindingVolatile) |
Creates a default binding. |
|
Decorator: Marks a property getter as having volatile observable dependencies. | |
|
(BETA) Deeply subscribes to changes in existing observable objects. | |
|
when(condition, templateOrTemplateBinding, elseTemplateOrTemplateBinding) |
A directive that enables basic conditional rendering in a template. |
Interfaces
|
Interface |
Description |
|---|---|
|
A path discovered from an access expression. | |
|
Represents a getter/setter property accessor on an object. | |
|
An observer for arrays. | |
|
Represents something that applies to a specific aspect of the DOM. | |
|
The directive from which a binding originates. | |
|
Common metadata for paths cached while parsing a template. | |
|
A marker interface used to capture types when interpolating Directive helpers into templates. | |
|
The options used to configure child list observation. | |
|
Describes a child custom element binding referenced by a schema path. | |
|
A simple template that can create ContentView instances. | |
|
A simple View that can be interpolated into HTML content. | |
|
Directive for use in CSS templates. | |
|
Defines metadata for a CSSDirective. | |
|
A path discovered from a default binding. | |
|
Provides a mechanism for releasing resources. | |
|
A type that instantiates an ElementController | |
|
A View representing DOM nodes specifically for rendering the view of a custom element. | |
|
A template capable of creating views specifically for rendering custom elements. | |
|
A path discovered from an event binding. | |
|
Provides additional contextual information available to behaviors and expressions. | |
|
Controls the lifecycle of an expression and provides relevant context. | |
|
Enables evaluation of and subscription to a binding. | |
|
Observes an expression for changes. | |
|
Represents a custom element based on the FASTElement infrastructure. | |
|
Represents an object that can contribute behavior to a host. | |
|
Controls the lifecycle and context of behaviors and styles associated with a component host. | |
|
Instructs the template engine to apply behavior to a node. | |
|
Defines metadata for an HTMLDirective. | |
|
The result of a template compilation operation. | |
|
A JSON schema describing a root property. | |
|
Common properties shared by schema nodes. | |
|
A reusable JSON schema definition. | |
|
Observes array lengths. | |
|
Options for configuring node observation behavior. | |
|
Provides change notifications for an observed subject. | |
|
A record of observable property access. | |
|
Represents metadata configuration for a custom element. | |
|
Represents metadata configuration for an HTMLDirective. | |
|
Configuration for registering a path with a schema. | |
|
A path discovered from a repeat directive. | |
|
Options for configuring repeat behavior. | |
|
Shadow root initialization options. | |
|
The options used to configure slotted node observation. | |
|
Observes array sort. | |
|
An approach to tracking changes in an array. | |
|
Implemented to provide specific behavior when adding/removing styles for elements. | |
|
A node that can be targeted by styles. | |
|
Implemented by objects that are interested in change notifications. | |
|
The options used to configure subtree observation. | |
|
A view representing a range of DOM nodes which can be added/removed ad hoc. | |
|
A template capable of rendering views not specifically connected to custom elements. | |
|
Lifecycle callbacks for template events. | |
|
The settings required to enable two-way binding. | |
|
A work queue used to synchronize writes to the DOM. | |
|
Represents objects that can convert values to and from view or model representations. | |
|
Represents a collection of DOM nodes which can be bound to a data source. | |
|
Represents an object that can contribute behavior to a view. | |
|
A factory that can create a ViewBehavior associated with a particular location within a DOM fragment. | |
|
Bridges between ViewBehaviors and HostBehaviors, enabling a host to control ViewBehaviors. | |
|
Controls the lifecycle of a view and provides relevant context. |
Variables
|
Variable |
Description |
|---|---|
|
An observer for arrays. | |
|
Metadata used to configure a custom attribute's behavior. | |
|
A ValueConverter that converts to and from | |
|
Common APIs related to compilation. | |
|
Transforms a template literal string into styles. | |
|
Instructs the css engine to provide styles during CSS template composition. | |
|
Common DOM APIs. | |
|
The type of HTML aspect to target. | |
|
A helper for creating DOM policies. | |
|
A readonly, empty array. | |
|
Provides additional contextual information available to behaviors and expressions. | |
|
The FAST messaging API for warnings and errors. | |
|
A minimal base class for FASTElements that also provides static helpers for working with FASTElements. | |
|
Transforms a template literal string into a ViewTemplate. | |
|
Instructs the template engine to apply behavior to a node. | |
|
Common APIs related to markup generation. | |
|
A ValueConverter that converts to and from | |
|
A ValueConverter that converts to and from | |
|
Common Observable APIs. | |
|
Common APIs related to content parsing. | |
|
Module-level registry that maps custom element names to their schema maps. Used for cross-element | |
|
The gateway to signal APIs. | |
|
Describes how the source's lifetime relates to its controller's lifetime. | |
|
Functionality related to tracking changes in arrays. | |
|
Indicates what level of feature support the splice strategy provides. | |
|
Enables configuring two-way binding settings. | |
|
The default UpdateQueue. | |
|
Bridges between ViewBehaviors and HostBehaviors, enabling a host to control ViewBehaviors. |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Used to add behavior factories when constructing templates. | |
|
Metadata used to configure a custom attribute's behavior. | |
|
The mode that specifies the runtime behavior of the attribute. | |
|
A path discovered while parsing a template. | |
|
A map from element names and root properties to JSON schemas. | |
|
Represents a callable type such as a function or an object with a "call" method. | |
|
The options used to configure child/subtree node observation. | |
|
Represents a constructable class with a prototype. | |
|
A function capable of compiling a template from the preprocessed form produced by the html template function into a result that can instantiate views. | |
|
Represents a ViewBehaviorFactory after the compilation process has completed. | |
|
Represents styles that can be composed into the ShadowDOM of a custom element. | |
|
(BETA) Provides computed state capabilities. | |
|
(BETA) A callback that initializes the computation. | |
|
(BETA) A callback that enables computation setup. | |
|
(BETA) State whose value is computed from other dependencies. | |
|
Represents a type which can be constructed with the new operator. | |
|
A type that instantiates a StyleStrategy. | |
|
Transforms a template literal string into styles. | |
|
Represents the types of values that can be interpolated into a template. | |
|
Metadata used to configure a custom attribute's behavior through a decorator. | |
|
The type of HTML aspect to target. | |
|
Aspect-specific guards for a DOM Policy. | |
|
Element-specific guards for a DOM Policy. | |
|
Guard configuration for a DOM Policy. | |
|
Options for creating a DOM Policy. | |
|
A function used to send values to a DOM sink. | |
|
A specific DOM sink guard for a node aspect. | |
|
Elements filter function type. | |
|
The signature of an arrow function capable of being evaluated against source data and within an execution context. | |
|
A callback that receives a FASTElementDefinition during element registration. Extensions are invoked before the element is registered with the platform, allowing plugins to inspect or act on the resolved definition. | |
|
Resolves an element template from a composed definition. | |
|
Transforms a template literal string into a ViewTemplate. | |
|
(BETA) A read/write stateful value associated with an owner. | |
|
(BETA) A readonly stateful value associated with an object owner. | |
|
(BETA) A readonly stateful value. | |
|
Describes how the source's lifetime relates to its controller's lifetime. | |
|
The available values for SpliceStrategySupport. | |
|
(BETA) A read/write stateful value. | |
|
(BETA) Options for creating state. | |
|
Represents the types of values that can be interpolated into a template. | |
|
A policy for use with the standard trustedTypes platform API. | |
|
The twoWay binding options. | |
|
The target nodes available to a behavior. |