UNPKG

angular-material-npfixed

Version:

The Angular Material project is an implementation of Material Design in Angular.js. This project provides a set of reusable, well-tested, and accessible Material Design UI components. Angular Material is supported internally at Google by the Angular.js, M

64 lines (56 loc) 1.66 kB
{% include "lib/macros.html" -%} {% extends "api/api.template.html" %} {% block additional %} {% block usage %} <section class="api-section"> <h2 id="Usage">Usage</h2> {% if doc.usage %} {$ doc.usage | marked $} {% else %} <ul> {% if doc.restrict.element %} <li>as element: {% code %} <{$ doc.name | dashCase $} {%- for param in doc.params %} {$ directiveParam(param.alias or param.name, param.type, '="', '"') $} {%- endfor %}> ... </{$ doc.name | dashCase $}> {% endcode %} </li> {% endif -%} {%- if doc.restrict.attribute -%} <li>as attribute: {% code %} <{$ doc.element $} {%- for param in doc.params %} {$ directiveParam(param.name, param.type, '="', '"') $} {%- endfor %}> ... </{$ doc.element $}> {% endcode %} </li> {% endif -%} {%- if doc.restrict.cssClass -%} <li>as CSS class: {% code %} {% set sep = joiner(' ') %} <{$ doc.element $} class=" {%- for param in doc.params -%} {$ sep() $}{$ directiveParam(param.name, param.type, ': ', ';') $} {%- endfor %}"> ... </{$ doc.element $}> {% endcode %} </li> {% endif -%} {%- endif %} </section> {% endblock -%} {%- if doc.animations %} <h2>Animations</h2> {$ doc.animations | marked $} {$ 'module:ngAnimate.$animate' | link('Click here', doc) $} to learn more about the steps involved in the animation. {%- endif -%} {% include "lib/params.template.html" %} {% include "lib/events.template.html" %} {% endblock %}