[Patternlibrary GUI v0.0.1]
  • Name: atom/text/pattern-categories
    Categories: basics, texts
    basics, texts

    pattern's list of categories


    This is a simple comma-separated representation of a pattern's list of assigned categories.

    examples

    a single category:

    Source

    <span class="name">A category</span>
    

    Output

    A category

    multiple categories:

    Source

    <span class="name">A category</span>, <span class="name">Another category</span>, <span class="name">Some category</span>
    

    Output

    A category, Another category, Some category

    Example:

    
    <span class="name">basics</span>, <span class="name">texts</span>
    
    
    

    Output:

    basics, texts

    no JavaScript reference available...

    no SASS/SCSS reference available...

    Pattern Specifications:

    Info:

    • Name: atom/text/pattern-categories
    • Categories: basics, texts

    Dependencies:

    no dependencies

    Parameters:

    no parameters available


    Pattern Source:

    {{#if pattern.categories}}{{#each pattern.categories as |category|}}<span class="name">{{category}}</span>{{#unless @last}}, {{/unless}}{{/each}}{{/if}}
    

    no tests info available...

    no change-log info available...


    Git-Log: