GraffitiSuite Docs
Docs
Graffitiwebuicontrol
Loading document parsing libraries...
# GraffitiWebUIControl Class Inherits MobileHTMLViewer ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | False | True | ### Android | 32-Bit | 64-Bit | | :---: | :---: | | False | True | ### Console | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### Desktop | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### iOS | 32-Bit | 64-Bit | | :---: | :---: | | False | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Attributes | Name | Value | | --- | --- | | HideFromLibrary | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | MessageLevels | JSLog <br> JSWarning <br> JSException <br> JSError <br> XojoError | | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | BeforeOpen | (None) | (None) | | | ControlReady | (None) | (None) | | | DebugMessage | dbgLevel as GraffitiWebUIControl.MessageLevels <br> dbgContent as String | (None) | | | ExecuteEvent | EventName as String <br> EventContent as JSONItem | (None) | | | FileDropped | fileURL as String | (None) | | | FocusLost | (None) | (None) | | | FocusReceived | (None) | (None) | | | Opening | (None) | (None) | | | Resized | (None) | (None) | | | SetupHeader | (None) | String | | | SetupHTML | (None) | String | | | SetupJavascriptFramework | (None) | String | | | UIReady | (None) | (None) | | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Attributes | Hidden | Function | | | ExecuteJS | js() as string | (None) | | | ExecuteJS | js as string <br> force as Boolean = False | (None) | | | Attributes | Hidden | Function | | | LoaderHide | (None) | (None) | | | LoaderShow | (None) | (None) | | | Attributes | Hidden | Refresh | | | ScaleFactor | (None) | Double | | ## Shared Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | AddCSSFile | theFile as FolderItem | String | | | AddJSFile | theFile as FolderItem | String | | | ParseForIcon | captionString as String <br> iconObject as Picture = Nil <br> iconWidth as Integer = 0 <br> iconHeight as Integer = 0 | String | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | isReady | Nil | | | ShowLoaderOnEvents | Boolean | False | |