MetaFor - v0.3.1
    Preparing search index...

    Interface StyleMapDirective

    Тип класса, реализующего эту директиву. Необходим для именования типа возвращаемого значения директивы.

    interface StyleMapDirective {
        __part: any;
        __attributeIndex: undefined | number;
        __directive?: Directive;
        _$parent: Disconnectable;
        _$disconnectableChildren?: Set<Disconnectable>;
        _$notifyDirectiveConnectionChanged(isConnected: boolean): void;
        get _$isConnected(): boolean;
        _$initialize(
            part: any,
            parent: Disconnectable,
            attributeIndex: undefined | number,
        ): void;
        _$resolve(part: any, props: unknown[]): unknown;
        render(styleInfo: Readonly<StyleInfo>): string;
        update(
            part: AttributePart,
            __namedParameters: [styleInfo: Readonly<StyleInfo>],
        ): string | typeof noChange;
    }

    Hierarchy (View Summary)

    Index

    Accessors

    • get _$isConnected(): boolean

      Returns boolean

    Methods

    • Метод, который должен быть реализован в пользовательской директиве. Возвращает значение для вставки в шаблон.

      Parameters

      Returns string

    Properties

    __part: any
    __attributeIndex: undefined | number
    __directive?: Directive
    _$parent: Disconnectable
    _$disconnectableChildren?: Set<Disconnectable>