Variable navAttributeConst

navAttribute: {
    name: string;
    css(attributeValue: string | number): CSSResult;
    js(attributeValue: string | number): string;
} = ...

The attribute which the nav directive applies to elements.

Type declaration

  • name: string

    Name of the attribute.

  • css:function
    • Use this to generate a selector for the attribute in CSS. The selector value uses the *= comparison. Meaning, the nav attribute value can merely contain the given value.

      Parameters

      • attributeValue: string | number

      Returns CSSResult

  • js:function
    • Use this to generate a query selector string for the attribute, to be within with JavaScript queries. The selector value uses the *= comparison. Meaning, the nav attribute value can merely contain the given value.

      Parameters

      • attributeValue: string | number

      Returns string