Flipabit
  • Flipabit
  • Getting started
    • Flipabit overview
    • Create project
    • Run on device
    • Build
      • Build for iOS
      • Build for Android
      • Build for Desktop
    • Publish to App Stores
      • Submit to App Store
      • Submit to Google Play
  • Layers
    • Select layer
    • Change order, visibility and name
    • Copy and paste
    • Move layer
    • Resize layer
    • Rotate layer
    • Align layers
    • Arrange layers
    • Navigation layer
      • Display page title
      • Display Tab bar
      • Display Table of contents
      • Display Back button
      • Next/Prev buttons
      • Navigation actions
  • Pages
    • Add or delete page
    • Open page
    • Page background and overlay
  • Widgets
    • Image
    • Video
    • Text
    • PDF
    • Web
    • Diorama
    • Audio
    • Animation
    • Camera
    • YouTube
    • Map
    • Chart
    • Calendar
    • Table
    • Form
    • 3D Model
  • Groups
    • Add group
    • Move and resize group
  • Style
    • Opacity
    • Borders
    • Background
    • Opacity mask
    • Overlay
    • Margins
    • Blur
    • Copy and paste style
  • Interactivity
    • Navigate between pages
    • Maximize widget
    • Drag widget
    • Disable widget
  • Project
    • Resolution
    • Orientation
    • Status Bar
    • Settings
    • Publish settings
  • Animation
    • Page animation
    • Maximize animation
    • Position animation
    • Size animation
    • Size and position animation
    • Rotation animation
    • Opacity animation
    • Color animation
    • Blur animation
  • Actions
    • Actions Editor Overview
    • Add action
    • Suspend actions
    • Arguments
    • Delay action
    • Animation settings
    • Repeat action
  • Data & backend
    • Airtable
    • Google Sheets
  • Networking
  • Tutorials
  • API
    • Project
    • Page
    • Group
    • Widget
      • Image
      • Text
      • Video
      • Diorama
      • Audio
      • Web
      • Animation
      • Camera
      • YouTube
      • Map
      • Chart
      • Calendar
      • Table
      • Form
      • Record
      • 3d model
  • ⭐Updates
  • 🎁Get Flipabit
Powered by GitBook
On this page
  • Actions
  • Events

Was this helpful?

  1. API
  2. Widget

Web

PreviousAudioNextAnimation

Last updated 4 years ago

Was this helpful?

Property

Function

Type

Url

Sets URL address Actions editor: Property > Web > Url Code: widget.content.webUrl

string

Popup links

If Ignore, do not open pop-up links, else open in the same window Actions editor: Property > Web > Popup links Code: widget.content.popupBehavior

enum Values: Ignore OpenInTheSameWindow

Js result

Holds result of actionRunJavaScript Actions editor: Property > Web > Js result Code: widget.content.javaScripResult

string

Snapshot

Web page snapshot Actions editor: Property > Web > Snapshot Code: widget.content.snapshot

string

Current url

Gets current url Actions editor: Property > Web > Current url Code: widget.content.currentUrl

string

Current url hash

Gets current url Actions editor: Property > Web > Current url hash Code: widget.content.currentUrlHash

string

Current title

Gets current page title Actions editor: Property > Web > Current title Code: widget.content.webPageTitle

string

Progress

Gets loading progress Actions editor: Property > Web > Progress Code: widget.content.loadProgress

int

Error

Gets loading error text Actions editor: Property > Web > Error Code: widget.content.error

string

Actions

Property

Function

Run JavaScript

Run custom javascript code, i.e. alert(document.title + document.location) Actions editor: Actions > Common > Run JavaScript Code: widget.content.script.actionRunJavaScript(QString script)

Go back

Go back to previous page Actions editor: Actions > Common > Go back Code: widget.content.script.actionGoBack()

Go forward

Go forward to next page Actions editor: Actions > Common > Go forward Code: widget.content.script.actionGoForward()

Stop

Stops loading the current url Actions editor: Actions > Common > Stop Code: widget.content.script.actionStop()

Reload

Reload the current url Actions editor: Actions > Common > Reload Code: widget.content.script.actionReload()

Load html document

Loads the specified html content to the web view Actions editor: Actions > Common > Load html document Code: widget.content.script.actionLoadHtml(QString html)

Set url

Actions editor: Actions > Common > Set url Code: widget.content.script.actionSetUrl(QString url)

Events

Property

Function

Run JavaScript

Actions editor: Event > Run JavaScript Code: widget.content.script.eventJavaScriptRunned()

Page loaded

Event when page is loaded Actions editor: Event > Page loaded Code: widget.content.script.eventLoaded()

Error

Event when error is raised Actions editor: Event > Error Code: widget.content.script.eventError()

Load progress changed

Event when page loading progress is changed Actions editor: Event > Load progress changed Code: widget.content.script.eventProgress()

Url changed

Event when url is changed Actions editor: Event > Url changed Code: widget.content.script.eventUrlChanged()