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

General

Component Palette Icon:









IULocgo


Embedded View

Description

The Embedded view component allows you to include an entire view inside another. Using this component allows you to select a view to display, and to pass parameters into the view. Because of this, views can easily act as templates for information.

For example, you could create a tank view and embed several into another, larger view that shows an overview of the facility.

The embedded view is different than a container because you cannot alter the contents of a view using the Embedded View. A new container would allow you to create a new grouped set of components.

Properties

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
pathPath of the view to load in wrapper.
value: string
paramsParameters to be passed to the view. Options are Input, Output, or In/Out.value: string
useDefaultViewWidthUse of view's default width instead of adjusting based on the content's width.value: boolean
useDefaultViewHeightUse of view's default height instead of adjusting based on the content's width.value: boolean
styleSets a style for this component. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.object
Example

In this example, there is a Map component and a Carousel component on the top of the page. Underneath them, we've placed an Embedded View component. The idea was to embed this overview to give users a quick visual reference to bigger picture trends for the site. This example assumes you have a view already created named "Pressure Trend Overview". Here are the properties for just the Embedded View:

PropertyValueStyle Category
props.pathPressure Trend OverviewN/A
props.style.backgroundColor#FFE8CCbackground
props.style.borderStylegrooveborder
props.style.borderWidth6pxborder


  • No labels