device-navigation - v4.5.5
    Preparing search index...

    Variable navAttributeConst

    navAttribute: {
        name: string;
        css(
            __namedParameters?: PartialWithUndefined<
                { baseSelector: string; navValue: NavValue },
            >,
        ): CSSResult;
        js(value?: "" | NavValue): string;
    } = ...

    The attribute which the nav directive applies to elements with a value of NavValue.

    Type declaration

    • name: string

      Name of the attribute.

    • css: function
      • Use this to generate a selector for the attribute in CSS.

        Parameters

        • __namedParameters: PartialWithUndefined<{ baseSelector: string; navValue: NavValue }> = {}

        Returns CSSResult

    • js: function
      • Use this to generate a query selector string for the attribute, to be within with JavaScript queries.

        Parameters

        • Optionalvalue: "" | NavValue

          Omit this or set to undefined or '' to generate a selector for all elements with the nav attribute.

        Returns string