setOption API Method

The WMKS core object uses the
setOption
method to change option values for
createWMKS
.
Of the options listed in createMKS Options, this method supports:
  • rescale
  • position
  • changeResolution
  • useNativePixels
  • reverseScrollY
  • fixANSIEquivalentKeys
  • sendProperMouseWheelDeltas
  • keyboardLayoutId
Parameter1
Type: string. optionName
Parameter2
Type: Boolean. optionValue
Return Value
None
Example Call
wmks.setOption("changeResolution",false);