Classes
| Class | Description |
|---|---|
| AttachedBehaviorHTMLDirective | A directive that attaches special behavior to an element via a custom attribute. |
| AttributeDefinition | An implementation of Accessor that supports reactivity, change callbacks, attribute reflection, and type conversion for custom elements. |
| BindingBehavior | A behavior that updates content and attributes based on a configured BindingDirective. |
| ChildrenBehavior | The runtime behavior for child node observation. |
| Controller | Controls the lifecycle and rendering of a FASTElement. |
| CSSDirective | Directive for use in css(). |
| ElementStyles | Represents styles that can be applied to a custom element. |
| ExecutionContext | Provides additional contextual information available to behaviors and expressions. |
| FASTElementDefinition | Defines metadata for a FASTElement. |
| HTMLBindingDirective | A directive that configures data binding to element content and attributes. |
| HTMLDirective | Instructs the template engine to apply behavior to a node. |
| HTMLView | The standard View implementation, which also implements ElementView and SyntheticView. |
| PropertyChangeNotifier | An implementation of Notifier that allows subscribers to be notified of individual property changes on an object. |
| RefBehavior | The runtime behavior for template references. |
| RepeatBehavior | A behavior that renders a template for each item in an array. |
| RepeatDirective | A directive that configures list rendering. |
| SlottedBehavior | The runtime behavior for slotted node observation. |
| SubscriberSet | An implementation of Notifier that efficiently keeps track of subscribers interested in a specific change notification on an observable source. |
| TargetedHTMLDirective | A HTMLDirective that targets a named attribute or property on a node. |
| ViewTemplate | A template capable of creating HTMLView instances or rendering directly to DOM. |
Functions
| Function | Description |
|---|---|
| attr(config) | Decorator: Specifies an HTML attribute. |
| attr(target, prop) | Decorator: Specifies an HTML attribute. |
| children(propertyOrOptions) | A directive that observes the childNodes of an element and updates a property whenever they change. |
| compileTemplate(template, directives) | Compiles a template and associated directives into a raw compilation result which include a cloneable DocumentFragment and factories capable of attaching runtime behavior to nodes within the fragment. |
| css(strings, values) | Transforms a template literal string into styles. |
| cssPartial(strings, values) | Transforms a template literal string into partial CSS. |
| customElement(nameOrDef) | Decorator: Defines a platform custom element based on FASTElement. |
| elements(selector) | Creates a function that can be used to filter a Node array, selecting only elements. |
| enableArrayObservation() | Enables the array observation mechanism. |
| html(strings, values) | Transforms a template literal string into a renderable ViewTemplate. |
| observable(target, nameOrAccessor) | Decorator: Defines an observable property on the target. |
| ref(propertyName) | A directive that observes the updates a property with a reference to the element. |
| repeat(itemsBinding, templateOrTemplateBinding, options) | A directive that enables list rendering. |
| slotted(propertyOrOptions) | A directive that observes the assignedNodes() of a slot and updates a property whenever they change. |
| volatile(target, name, descriptor) | Decorator: Marks a property getter as having volatile observable dependencies. |
| when(binding, templateOrTemplateBinding) | A directive that enables basic conditional rendering in a template. |
Interfaces
| Interface | Description |
|---|---|
| Accessor | Represents a getter/setter property accessor on an object. |
| Behavior | Represents and object that can contribute behavior to a view or element's bind/unbind operations. |
| BindingObserver | Enables evaluation of and subscription to a binding. |
| CaptureType | A marker interface used to capture types when interpolating Directive helpers into templates. |
| ChildListBehaviorOptions | The options used to configure child list observation. |
| CompilationResult | (BETA) The result of compiling a template and its directives. |
| ElementView | A View representing DOM nodes specifically for rendering the view of a custom element. |
| ElementViewTemplate | A template capable of creating views specifically for rendering custom elements. |
| FASTElement | Represents a custom element based on the FASTElement infrastructure. |
| NodeBehaviorFactory | A factory that can create a Behavior associated with a particular location within a DOM fragment. |
| NodeBehaviorOptions | Options for configuring node observation behavior. |
| Notifier | Provides change notification for a source object. |
| ObservationRecord | A record of observable property access. |
| PartialFASTElementDefinition | Represents metadata configuration for a custom element. |
| RepeatOptions | Options for configuring repeat behavior. |
| SlottedBehaviorOptions | The options used to configure slotted node observation. |
| Splice | Represents a set of splice-based changes against an Array. |
| StyleTarget | A node that can be targeted by styles. |
| Subscriber | Implemented by objects that are interested in change notifications. |
| SubtreeBehaviorOptions | The options used to configure subtree observation. |
| SyntheticView | A view representing a range of DOM nodes which can be added/removed ad hoc. |
| SyntheticViewTemplate | A template capable of rendering views not specifically connected to custom elements. |
| ValueConverter | Represents objects that can convert values to and from view or model representations. |
| View | Represents a collection of DOM nodes which can be bound to a data source. |
Variables
| Variable | Description |
|---|---|
| $global | A reference to globalThis, with support for browsers that don't yet support the spec. |
| booleanConverter | A ValueConverter that converts to and from boolean values. |
| defaultExecutionContext | The default execution context used in binding expressions. |
| DOM | Common DOM APIs. |
| FASTElement | A minimal base class for FASTElements that also provides static helpers for working with FASTElements. |
| nullableNumberConverter | A ValueConverter that converts to and from number values. |
| Observable | Common Observable APIs. |
Type Aliases
| Type Alias | Description |
|---|---|
| AttachedBehaviorType | Describes the shape of a behavior constructor that can be created by an AttachedBehaviorHTMLDirective. |
| AttributeConfiguration | Metadata used to configure a custom attribute's behavior. |
| AttributeMode | The mode that specifies the runtime behavior of the attribute. |
| Binding | The signature of an arrow function capable of being evaluated as part of a template binding update. |
| Callable | Represents a callable type such as a function or an object with a "call" method. |
| ChildrenBehaviorOptions | The options used to configure child/subtree node observation. |
| ComposableStyles | Represents styles that can be composed into the ShadowDOM of a custom element. |
| Constructable | Allows for the creation of Constructable mixin classes. |
| DecoratorAttributeConfiguration | Metadata used to configure a custom attribute's behavior through a decorator. |
| ElementsFilter | Elements filter function type. |
| ElementStyleFactory | Creates an ElementStyles instance for an array of ComposableStyles. |
| Global | The platform global type. |
| TemplateValue | Represents the types of values that can be interpolated into a template. |
| TrustedTypes | Enables working with trusted types. |
| TrustedTypesPolicy | A policy for use with the standard trustedTypes platform API. |