@microsoft/fast-element/declarative.js
Classes
|
Class |
Description |
|---|---|
|
An implementation of Accessor that supports reactivity, change callbacks, attribute reflection, and type conversion for custom elements. | |
|
Represents styles that can be applied to a custom element. | |
|
Defines metadata for a FASTElement. | |
|
The standard View implementation, which also implements ElementView and SyntheticView. | |
|
A constructed JSON schema from a template | |
|
Converts declarative HTML template markup into the This class is intentionally stateless across invocations — all mutable parsing state lives on the call stack or in the The parsing pipeline is fully synchronous — no promises are allocated during template resolution. | |
|
A template capable of creating HTMLView instances or rendering directly to DOM. |
Functions
|
Function |
Description |
|---|---|
|
Returns a declarative template resolver that waits for the matching |
Interfaces
|
Interface |
Description |
|---|---|
|
A path discovered from an access expression. | |
|
Represents a getter/setter property accessor on an object. | |
|
Common metadata for paths cached while parsing a template. | |
|
A marker interface used to capture types when interpolating Directive helpers into templates. | |
|
Describes a child custom element binding referenced by a schema path. | |
|
A path discovered from a default binding. | |
|
A policy that controls whether values can be written to DOM sinks. | |
|
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. | |
|
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. | |
|
Represents metadata configuration for a custom element. | |
|
Configuration for registering a path with a schema. | |
|
A path discovered from a repeat directive. | |
|
The return type for TemplateParser.parse(). | |
|
Shadow root initialization options. | |
|
Implemented to provide specific behavior when adding/removing styles for elements. | |
|
A node that can be targeted by styles. | |
|
A template capable of rendering views not specifically connected to custom elements. | |
|
Represents objects that can convert values to and from view or model representations. | |
|
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. |
Variables
|
Variable |
Description |
|---|---|
|
Metadata used to configure a custom attribute's behavior. | |
|
The type of HTML aspect to target. | |
|
A helper for creating DOM policies. | |
|
Module-level registry that maps custom element names to their schema maps. Used for cross-element |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
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 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. | |
|
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. | |
|
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. | |
|
Represents the types of values that can be interpolated into a template. | |
|
A policy for use with the standard trustedTypes platform API. |