You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.



Description

This is the View itself. A view has properties that control the view size, defines how Tags are dropped into a view, and settings for loading client views. The View properties are the same for each container type: Column, Coordinate, Tab, Breakpoint, and Flex. View properties are displayed in the Perspective Property Editor when you click on the view in the Project Browser.



View Props

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
defaultSize

Default size of the container.

NameDescriptionProperty Type
width Width of the view. Default is 800px.value: numeric
height Height of the view. Default is 800px.value: numeric
object
dropConfig

Provides an opportunity to automatically create an instance of this view via tag drop.

NameDescriptionProperty Type
udts

These settings allow for the automatic creation of this view when a UDT instance is dragged onto another view, using this view to represent the UDT. A parameter is passed into the view, allowing the view to reference the UDT.

NameDescriptionProperty Type
typeThe name of the UDT to associate with this view.value: string
paramName of the parameter to pass into this view.value: string
action
  • bind: Automatically configures a tag binding on the parameter (specified by param) to the UDT.
  • path: Passes in a tag path string on the parameter (specified by param)
value: boolean


object
dataTypes

These settings allow for the automatic creation of this view when a standard tag is dragged onto another view. A parameter is passed into the view, allowing the view to reference the tag.

NameDescriptionProperty Type
typeThe tag data type to associate with this view.value: string
paramName of the parameter to pass into this view.value: string
action
  • bind: Automatically configures a tag binding on the parameter (specified by param) to the dropped tag.
  • path: Passes in a tag path string on the parameter (specified by param)
value: boolean


object
object
loading

Options for loading the view.

NameDescriptionProperty Type
mode

Provides two options for loading views, particularly for views with a high number of components: blocking and non-blocking. Blocking loads faster for views with fewer components. Non-blocking loads views with a large number of components in chunks. Default is 'non-blocking'.

The following feature is new in Ignition version 8.0.16
Click here to check out the other new features
As of 8.0.16, views set to non-blocking will only wait patiently for five seconds if they have not been called.

value: string


object

Perspective Component Events

The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.

  • No labels