Simply wrap any element with a
bs-toggle
to make it togglable! No need for manual init.
Boolean, numeric attributes are supported
No need for
data-toggle
attribute, tooltip is the default.
Node content can be used instead of title attribute if its not there. Also, add
mobile
attribute for tooltips that replace content when you need to save space. Simply set the
--tooltip-enable
to true in css for the collapsed view.