element-vir - v26.14.0
    Preparing search index...

    Function createAttributeDirective

    • Creates a lit directive that used simply for setting attributes on its parent element.

      Parameters

      • attributeName: string

      Returns {
          attributeName: string;
          attributeDirective(
              this: void,
              attributeValue: string,
          ): DirectiveResult<typeof __class>;
          attributeSelector(this: void, attributeValue: string): string;
      }