Neophobe Plebeian Mumpsimus

    @precision-nutrition/ember-default-helper

    0.1.1 • Public • Published

    {{default}} helper

    Returns the second argument if the first one is undefined.

    Installation

    ember install @precision-nutrition/ember-default-helper
    

    Usage

    <div class="PnMenu" ...attributes>
      {{yield
        (component
          "pn-menu/item"
          truncate=(default @truncate true)
          onClick=(default @onItemClick (noop))
        )
      }}
    </div>

    Compatibility

    • Ember.js v3.12 or above
    • Ember CLI v2.13 or above
    • Node.js v10 or above

    Contributing

    See the Contributing guide for details.

    License

    This project is licensed under the MIT License.

    Keywords

    Install

    npm i @precision-nutrition/ember-default-helper

    DownloadsWeekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    4.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • jasonbekolay
    • grapho
    • trianglegrrl
    • jfh
    • ghedamat
    • pnfinance
    • pn-bot
    • elucid
    • dougestey
    • grahamma
    • jonhunt-pn
    • christophermilne
    • benmossbitfield
    • vpuzzella
    • ivanvotti
    • miguelverissimo
    • ryborg
    • pn-ips