News for hackers. Stuff that matters.
Re:Stencil – A reusable web component generator by knicholes on Wednesday August 23, 2017 @11:46AM (#15082440)
What kind of events are stencil events? In order to respond to an emitted stencil event, do I have to use the stencil listener, or can I use addEventListener?
Re:Stencil – A reusable web component generator by jgw96 on Wednesday August 23, 2017 @12:27PM (#15082833)
Hello! Good question. There are no stencil events, we just use the custom events api that is built into the browser. Therefore, you can use addEventListener.