Viewport
Experimental Viewport mode of WebView layer
Viewport mode
PositionReference = .Viewport
Positions and size are then interpreted as thousandths of the viewport width / height.
Interop Javascript library
To be used within an iframe of an XForms (Web Layer), provides access to parent XForms component.
https://xfmwiki.creative-it.net/XFM.interop.js version 0.1
- XFM.getCellText(layerName, cellName) returns a cell's displayed text
- XFM.getCellValue(layerName, cellName) returns a cell's underlying value
- XFM.getInputValue(inputIndex) returns an input's value (index starts at zero)
- XFM.setTextBox(layerName, cellName, value) for a cell with a Text Box
- XFM.getTextBox(layerName, cellName) for a cell with a Text Box
- XFM.click(layerName, cellName) for a cell with a Button
ex: set text input is cell "C2" of layer "MyLayer" to "hello"
XFM.setInputValue("MyLayer", "C2", "hello");