object ('a) method allowFunctions : bool Js.t Js.prop method getKey : ('a Js.t, 'b Js.t -> 'c Js.t) Js.meth_callback Js.writeonly_prop method listeners : 'd Js.t Js.prop end