Web view Feature
Description
A Web view provides the display view for the HTML contents or to a web page.
Properties
Feature Name: This is the name of the feature, it can be changed from the default value.
x: This is the horizontal center point of the feature on the view.
y: This is the vertical center point of the feature on the view.
width: This is the width of this feature.
height: This is the height of the feature.
Orientation: This is the angle of the feature specified in degrees
Transparency: This a value that specified the transparency of the feature. 0 is completely invisible and 1 is not transparent at all
Type of Webview: This property provides an option to choose between a normal web view and an advanced web view. A normal webview can be used to display simple HTML pages where an advanced web view can be used to display web pages with rich content, scripts, animation, etc.
URL Mode: This property can be used to restrict or allow particular URLs listed in the List of URLs property.
Home Page: This property can be used to set the homepage for the web view.
List Of URLs: Here we list the URLs required for URL Mode. It accepts only domain names as input, if there is more than one URL use a comma to separate them. Ex- Google, Yahoo, Youtube, Baetho
Events
Triggers
Key Pressed
Key Pressed: This trigger listens to the event of a key being pressed. It listens for the key that is specified in the parameter key
Parameter
Key: Character that it’s listening for
Timer
Timer: This starts a timer and executes the actions when the time is up. You can have it run multiple times by specifying the number of runs, 0 is to keep running indefinitely
Parameter
Duration: duration of time before executing actions
Number Of Runs: Specifies the number of runs, 0 is to keep running indefinitely
Touch
Tap: This trigger executes its actions when the user taps on this feature
Double Tap: This trigger executes its actions when the user double taps on this feature
Long Press: This trigger executes its actions when the user long presses this feature
Pressed: This trigger executes its actions when the user has pressed down on this feature
Released: This trigger executes its actions when the user has pressed down and released this feature
Gesture
Swipe: This trigger executes its actions when the user swipes on the feature in the direction specified
Parameter
Swipe Type: Here you can specify the direction of swipe to listen for
Global Variable: The distance of the swipe will be stored to this variable if one is specified
Drag and Drop
Is Dropped On: This trigger executes its actions when this feature is dragged and dropped on to another feature
Parameter
Target: This specifies the other feature that this feature has to be dropped on
Is Dragged Over: This trigger executes its actions when this feature is dragged over another feature
Parameter
Target: This specifies the other feature that this feature has to be dragged over
Container
Maximized: This trigger executes its actions when this feature is maximized
Unmaximized: This trigger executes its actions when this feature is restored from a maximized state
Minimized: This trigger executes its actions when this feature is minimized
Unminimized: This trigger executes its actions when this feature is restored from a minimized state
Web ViewTriggers
Load Completed: This trigger executes its actions when the feature loads a page.
Action Detected: This trigger executes its actions when the feature detects a user interaction.
Actions
Print: This action calls the print function of the operating system of the device, it will print this feature the way it looks when the action is executed. For this to work the printer setting must be set up properly on the OS.
Parameter
Show settings popup: The printer setting popup of the OS can be shown before printing if selected
X:This action changes the x property of this feature to the value specified
Parameter
x:This is the target value
Y:This action changes the y property of this feature to the value specified
Parameter
y:This is the target value
Width: This action changes the width property of this feature to the value specified
Parameter
Width: This is the target value
Height: This action changes the height property of this feature to the value specified
Parameter
Height: This is the target value
Rotate To: This action changes the orientation property of this feature to the value specified
Parameter
Rotation: This is the target value
X Offset: This action changes the x property of this feature by adding the value specified
Parameter
x:This is the value to be added to the current value
Y Offset: This action changes the y property of this feature by adding the value specified
Parameter
y:This is the value to be added to the current value
Width Offset: This action changes the width property of this feature by adding the value specified
Parameter
Width: This is the value to be added to the current value
Height Offset: This action changes the height property of this feature by adding the value specified
Parameter
Height: This is the value to be added to the current value
Rotate By: This action changes the orientation property of this feature by adding the value specified
Parameter
Rotation Offset: This is the value to be added to the current value
Resize By Factor: This action changes the height and width of the feature by multiplying it by the specified factor
Parameter
Factor: This is the value which the height and width will be multiplied by
Move To Front: This action moves this feature to the front of all the features that are in view. If this feature is inside a group feature it will be moved in front of all the other features inside that group only.
Move To Back: This action moves this feature to the back of all the features that are in view. If this feature is inside a group feature it will be moved to the back of all the other features inside that group only.
Change Transparency: This action changes the transparency of the feature by to the value specified
Parameter
Alpha: This is used to change the transparency, value must be between 0 or 1 must be between 0 and or 1
Delete Feature: This action deletes the feature from the view
Maximize: This action maximizes this feature
Minimizes: This action minimizes this feature
Toggle Maximize: This action toggles the maximize of this feature
Toggle Minimizes: This action toggles the minimizes of this feature
Web view
Change URL: This action changes the URL of this feature to the asset specified
Parameter
URL: This is the target asset
Close View: This action removes the feature from the view.
Go Back: This action takes the web view to one page backward.
Go Forward: This action takes the web view to one page forward.