Eliom_lib.Dom_referenceval new_key : unit -> keyval retain : ?key:key -> _ Js_of_ocaml.Js.t -> keep:_ -> unitretain v ~keep prevents keep from being garbage collected while v is live. An optional key can be specified if one needs to remove this association later one.
val retain_generic : ?key:key -> _ -> keep:_ -> unitretain v ~keep prevents keep from being garbage collected while v is live. An optional key can be specified if one needs to remove this association later one.
Same as retain but works with any object. More error-prone
val release : key:key -> _ -> unitSame as retain but works with any object. More error-prone
release ~key o removes the association between the value v and the value associated to key.
val transfer : key:key -> src:_ -> dst:_ -> unitrelease ~key o removes the association between the value v and the value associated to key.
transfer ~key ~src ~dst transfers the association between the value src and the value associated to key key to value dst.