[ CCode ( vfunc_name = "add_event_listener" ) ]
[ Version ( deprecated = true , deprecated_since = "2.22" ) ]
public abstract bool add_event_listener_with_closure (string event_name, owned EventTargetFunc handler, bool use_capture)
Warning: add_event_listener_with_closure is deprecated since 2.22.
Version of webkit_dom_event_target_add_event_listener
using a closure instead of a callbacks for easier binding in other
languages.
Use JavaScriptCore API instead
this | |
event_name |
A char |
handler |
A Closure |
use_capture |
A bool |
a bool |