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

Text

PreviousImageNextVideo

Last updated 4 years ago

Was this helpful?

Property

Function

Type

Text

Sets text Actions editor: Property > Text > Text Code: widget.content.text

string

Columns

Sets columns number Actions editor: Property > Text > Columns Code: widget.content.columns

int

Column margin

Sets column margins Actions editor: Property > Text > Column margin Code: widget.content.columnMargin

double

Margins

Sets text margins Actions editor: Property > Text > Margins Code: widget.content.margins

double

Link

Sets link Actions editor: Property > Text > Link Code: widget.content.link

string

ScrollX

Not documented Actions editor: Property > Text > ScrollX Code: widget.content.scrollX

double

ScrollY

Not documented Actions editor: Property > Text > ScrollY Code: widget.content.scrollY

double

Actions

Property

Function

Clear text

Actions editor: Actions > Common > Clear text Code: widget.content.script.actionClearText()

Append text

Append text to the bottom Actions editor: Actions > Common > Append text Code: widget.content.script.actionAppendText(QString newText)

Set text

Actions editor: Actions > Common > Set text Code: widget.content.script.actionSetText(QString newText)

Scroll to top

Actions editor: Actions > Common > Scroll to top Code: widget.content.script.actionScrollTop()

Scroll to end

Actions editor: Actions > Common > Scroll to end Code: widget.content.script.actionScrollBottom()

Events

Property

Function

Text changed

Event when text is changed Actions editor: Event > Text changed Code: widget.content.script.eventTextChanged()

Link clicked

Event when link is clicked Actions editor: Event > Link clicked Code: widget.content.script.eventLinkClicked()

Scroll

Event when text is scrolled Actions editor: Event > Scroll Code: widget.content.script.eventScroll()

Scroll stop

Event when scroll is finished Actions editor: Event > Scroll stop Code: widget.content.script.eventScrollStop()