Product Selector

Fusion 5.9
    Fusion 5.9

    formatAsCssName

    Description

    Renders a string in a friendly name for CSS.

    Usage

    In HTML Template Binding

    {{ formatAsCssName_expression | formatAsCssName }}

    In JavaScript

    $filter('formatAsCssName')(string)

    Parameters

    ParamTypeDetails
    stringstring

    The string to format.