Closed adelura closed 9 years ago
I'm OK with it as long as it remains a very simple JS component.
We can do it with CSS only but it won't work in IE8.
I created toggler
in branch:t/34 This won't work in IE<10 because of classList
. Please let me know what is not okay if any.
This won't work in IE<10 because of
classList
.
It got to be IE8+. Sorry. Also the hash does not work (rebased?).
Also:
@import url('../icon/icon');
is rather obsolete. Each derivative project includes it anyway.toggler.less
.Make
Please note: You should include javascript file: /components/toggler/js/toggler.js
a highlighted HTML snippet (<script ...>
). Also mention to put it at the bottom of the document since we don't wait for DOMContentLoaded
.
cursor:pointer
for labels.
Functionality with clickable button which will expand/collapse related box.