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
  • Mask
  • Actions
  • Events

Was this helpful?

  1. API
  2. Widget

Diorama

PreviousVideoNextAudio

Last updated 4 years ago

Was this helpful?

Property

Function

Type

Background

Background image Actions editor: Property > Diorama > Background Code: widget.content.backgroundImage

string

Movable

Allow drag pin Actions editor: Property > Diorama > Movable Code: widget.content.movable

bool

Show labels

Display text description when clicking on pin Actions editor: Property > Diorama > Show labels Code: widget.content.showLabels

bool

Min scale

Minimum scale value Actions editor: Property > Diorama > Min scale Code: widget.content.minScale

double

Max scale

Maximum scale value Actions editor: Property > Diorama > Max scale Code: widget.content.maxScale

double

Enable pan

Enable pan Actions editor: Property > Diorama > Enable pan Code: widget.content.enablePan

bool

Current label

Current label text Actions editor: Property > Diorama > Current label Code: widget.content.currentLabel

string

Current index

Current label index Actions editor: Property > Diorama > Current index Code: widget.content.currentIndex

int

Mask

Property

Function

Type

Image

Mask image Actions editor: Property > Diorama > Mask > Image Code: widget.content.mapMask

string

Width

Mask width Actions editor: Property > Diorama > Mask > Width Code: widget.content.mapWidth

double

Height

Mask height Actions editor: Property > Diorama > Mask > Height Code: widget.content.mapHeight

double

Border

Mask border size Actions editor: Property > Diorama > Mask > Border Code: widget.content.mapBorderSize

int

Radius

Mask radius Actions editor: Property > Diorama > Mask > Radius Code: widget.content.mapRadius

int

Actions

Property

Function

Center on point

Actions editor: Actions > Common > Center on point Code: widget.content.script.actionCenterOnPoint(double x, double y)

Show label

Actions editor: Actions > Common > Show label Code: widget.content.script.actionCenterOnItem(int index)

Zoom

Actions editor: Actions > Common > Zoom Code: widget.content.script.actionZoom(int zoom)

Unselect All

Actions editor: Actions > Common > Unselect All Code: widget.content.script.actionUnselectAll()

Events

Property

Function

Item index

Event when pin is clicked Actions editor: Event > Item index Code: widget.content.script.eventItemClicked()