class vaseWindow::EventListeners

sys::Obj
  vaseWindow::EventListeners

@Js

add

Void add(Func<Void,Event?> cb)

Add a listener callback function

fire

Void fire(Event? event)

Fire the event to all the listeners

isEmpty

Bool isEmpty()

Return if size is zero.

list

List<Func<Void,Event?>> list()

Get the list of registered callback functions.

remove

Void remove(Func<Void,Event?> cb)

Remove a listener callback function

size

Int size()

Return number of registered callback functions.