@microsoft/fast-element > StatelessAttachedAttributeDirective

StatelessAttachedAttributeDirective class

A base class used for attribute directives that don't need internal state.

Signature:

export declare abstract class StatelessAttachedAttributeDirective<TOptions> implements HTMLDirective, ViewBehaviorFactory, ViewBehavior 

Implements: HTMLDirective, ViewBehaviorFactory, ViewBehavior

Constructors

Constructor

Modifiers

Description

(constructor)(options)

Creates an instance of RefDirective.

Properties

Property

Modifiers

Type

Description

options

protected

TOptions

Methods

Method

Modifiers

Description

bind(controller)

abstract

Bind this behavior.

createBehavior()

Creates a behavior.

createHTML(add)

Creates a placeholder string based on the directive's index within the template.