• A utility function for generating BEM-like class name.

    Returns

    A class name generator function.

    Parameters

    • viewName: string

      The name of the view. Used as part of the block name.

    Returns ((opt_elementName?: string, opt_modifier?: string) => string)

      • (opt_elementName?: string, opt_modifier?: string): string
      • Generates a class name.

        Returns

        A class name.

        Parameters

        • Optional opt_elementName: string

          The name of the element.

        • Optional opt_modifier: string

          The name of the modifier.

        Returns string

Generated using TypeDoc