Skip to main content

Timeline for Flex panels in CSS and JS

Current License: CC BY-SA 4.0

15 events
when toggle format what by license comment
Nov 1, 2020 at 11:46 comment added user3132457 okay, thanks for clarification, i'll use .closest()
Nov 1, 2020 at 11:42 comment added Sᴀᴍ Onᴇᴌᴀ That is a great question! It's due to event bubbling which might start at a text node if the user clicks on text within an element.
Nov 1, 2020 at 11:28 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
added 64 characters in body
Nov 1, 2020 at 8:52 comment added user3132457 thanks for mentioning event delegation, i heard it's important best practice but had completely forgotten about it. just one question, why should i use .closest() instead of e.target.classList.contains('panel')?
Nov 1, 2020 at 7:02 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
deleted 6 characters in body
Nov 1, 2020 at 6:40 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
added 217 characters in body
Nov 1, 2020 at 5:52 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
added 27 characters in body
Nov 1, 2020 at 5:15 history rollback Sᴀᴍ Onᴇᴌᴀ
Rollback to Revision 6
Nov 1, 2020 at 5:12 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
deleted 15 characters in body
Nov 1, 2020 at 5:02 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
deleted 15 characters in body
Nov 1, 2020 at 3:03 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
added 18 characters in body
Nov 1, 2020 at 2:58 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
added 18 characters in body
Nov 1, 2020 at 1:42 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
added 114 characters in body
Oct 31, 2020 at 22:56 history edited Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0
deleted 5 characters in body
Oct 31, 2020 at 22:50 history answered Sᴀᴍ Onᴇᴌᴀ CC BY-SA 4.0