sys/dom▲toc

Utility function to access the DOM inside a browser.

fun interval( msecs : intstd/core/int: V, action : () -> <domsys/dom/types/dom: E|e> ()std/core/(): V ) : <domsys/dom/types/dom: E|e> ()std/core/(): V

Execute an action on a specified interval.

fun timeout( msecs : intstd/core/int: V, action : () -> <domsys/dom/types/dom: E|e> ()std/core/(): V ) : <domsys/dom/types/dom: E|e> ()std/core/(): V

Execute an action after a specified time out.

fun withWindow( action : (windowsys/dom/types/window: V) -> <domsys/dom/types/dom: E|e> ()std/core/(): V ) : <domsys/dom/types/dom: E|e> ()std/core/(): V

Execute an action that gains access to the global windowsys/dom/types/window: V object.