createMKS
Parameters
The
createWMKS
method takes two parameters and returns the WMKS core object, used in
subsequent operations. The first parameter is the name of a <div>
element. The second parameter is a possibly empty list of options.
- id
- Type: string. The ID of a <div> element that is the container of the canvas used to show remote screens.
- options
- Type: JSON object. Options affect WMKS behavior, as documented here. If not specified, option defaults are used.
In the following example, this
method creates a WMKS core object named "container" with all default options,
and returns the WMKS core object in variable
wmks
.
var wmks =
WMKS.createWMKS("container",{});