mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-15 14:17:54 +03:00
2.3 KiB
2.3 KiB
layout | title | group |
---|---|---|
docs | Test | material-design |
Collapse method for mdb-btn-icon and field
{% example html %}
search
{% endexample %}
{% highlight js %} // clear field value once closed $(function() { $('#collapse-search').on('hidden.bs.collapse', function() { $('#search').val('') }) }); {% endhighlight %}
Collapse on the left
{% example html %}
search
{% endexample %}
With label-placeholder
Perhaps this isn't worth doing, considering the context. we need to override the top calc to determine where this goes, or perhaps we should switch to a bottom calc for everything? {% example html %}
search
{% endexample %}