event
Definition
function event(child: HTMLElement, events: HTMLEvents = {}) {
return HTMLElement
}
Input
child
: the reference to a valid bolt app, a bolt functional component or a valid bold variable componentevents
: takes an object of key-pair values of valid HTML events as in addEventListener()
Returns HTMLElement
The child element will be returned after the addition of events
Last updated