Classes
|
Class |
Description |
|---|---|
|
An implementation of Accessor that supports reactivity, change callbacks, attribute reflection, and type conversion for custom elements. | |
|
The runtime behavior for child node observation. | |
|
Enables bindings in CSS. | |
|
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. | |
|
(BETA) An ElementController capable of hydrating FAST elements from Declarative Shadow DOM. | |
|
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. | |
|
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 | |
|
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. | |
|
Decorator: Defines an HTMLDirective. | |
|
(BETA) Tests if a template or ViewController is hydratable. | |
|
(BETA) | |
|
(BETA) | |
|
(BETA) | |
|
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. | |
|
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. | |
|
A directive that observes the | |
|
Enables observing the sorted property of an array. | |
|
Decorator: Marks a property getter as having volatile observable dependencies. | |
|
when(condition, templateOrTemplateBinding, elseTemplateOrTemplateBinding) |
A directive that enables basic conditional rendering in a template. |
Interfaces
|
Interface |
Description |
|---|---|
|
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. | |
|
A marker interface used to capture types when interpolating Directive helpers into templates. | |
|
The options used to configure child list observation. | |
|
A simple template that can create ContentView instances. | |
|
A simple View that can be interpolated into HTML content. | |
|
Directive for use in css. | |
|
Defines metadata for a CSSDirective. | |
|
Provides a mechanism for releasing resources. | |
|
A security policy that FAST can use to interact with the DOM. | |
|
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. | |
|
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. | |
|
The FAST global. | |
|
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. | |
|
Lifecycle callbacks for element hydration events | |
|
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. | |
|
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. | |
|
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. | |
|
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 dynamic styles or associate behaviors with styles. | |
|
(BETA) The attribute used to defer hydration of an element. | |
|
Common DOM APIs. | |
|
The type of HTML aspect to target. | |
|
A readonly, empty array. | |
|
Provides additional contextual information available to behaviors and expressions. | |
|
The FAST global. | |
|
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. | |
|
The attribute used to indicate that an element needs hydration. | |
|
A ValueConverter that converts to and from | |
|
A ValueConverter that converts to and from | |
|
Common Observable APIs. | |
|
Common APIs related to content parsing. | |
|
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. | |
|
(ALPHA) Values for the | |
|
The default UpdateQueue. |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Used to add behaviors when constructing styles. | |
|
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. | |
|
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. | |
|
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. | |
|
A function used to send values to a DOM sink. | |
|
Elements filter function type. | |
|
The signature of an arrow function capable of being evaluated against source data and within an execution context. | |
|
Transforms a template literal string into a ViewTemplate. | |
|
Describes how the source's lifetime relates to its controller's lifetime. | |
|
The available values for SpliceStrategySupport. | |
|
(ALPHA) Type for the | |
|
Represents the types of values that can be interpolated into a template. | |
|
A policy for use with the standard trustedTypes platform API. | |
|
The target nodes available to a behavior. |