mazey
    Preparing search index...

    Variable genBrowserAttrsConst

    genBrowserAttrs: (prefix?: string, separator?: string) => string[] = getBrowserClassNames

    Deprecated alias of getBrowserClassNames.

    Type Declaration

      • (prefix?: string, separator?: string): string[]
      • Get CSS class-name tokens from the cached browser classification.

        Each available classification value receives the optional prefix and separator. This function returns strings without modifying the DOM.

        Usage:

        import { getBrowserClassNames } from "mazey";

        const attrs = getBrowserClassNames();
        console.log(attrs);

        Output:

        ["windows", "desktop", "webkit", "chrome"]
        

        Parameters

        • prefix: string = ""

          Optional prefix for every class name.

        • separator: string = "-"

          Separator between a non-empty prefix and each value. Defaults to -.

        Returns string[]

        Browser classification class names.

        Browser only.

    Use getBrowserClassNames instead.