Difference between revisions of "Details Attributes"
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 4: | Line 4: | ||
The section caption displayed in the [[Section Header|section header]]. | The section caption displayed in the [[Section Header|section header]]. | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Sections|Sections]] | [[:Category:Attributes#Sections|Sections]] | ||
− | + | '''Notes''' | |
* The Caption attribute can be queried or changed programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").caption]]. | * The Caption attribute can be queried or changed programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").caption]]. | ||
<pre>cVar = Lianja.getElementByID("page1.section1").caption</pre> | <pre>cVar = Lianja.getElementByID("page1.section1").caption</pre> | ||
Line 16: | Line 16: | ||
For [[:Category:Attributes#Gadgets|Gadgets]], the '''Fixed height''' attribute defines the height of the gadget in pixels. If '''Fixed height''' is 0 (default), the gadget is autosized to the height of the containing section. | For [[:Category:Attributes#Gadgets|Gadgets]], the '''Fixed height''' attribute defines the height of the gadget in pixels. If '''Fixed height''' is 0 (default), the gadget is autosized to the height of the containing section. | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]] | [[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]] | ||
− | + | '''Notes''' | |
==Fixed width== | ==Fixed width== | ||
Defines the width of the gadget in pixels. If '''Fixed width''' is 0 (default), the gadget is autosized to the available width of the containing section. | Defines the width of the gadget in pixels. If '''Fixed width''' is 0 (default), the gadget is autosized to the available width of the containing section. | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Gadgets|Gadgets]] | [[:Category:Attributes#Gadgets|Gadgets]] | ||
− | + | '''Notes''' | |
==Gadget type== | ==Gadget type== | ||
The type of gadget (readonly). | The type of gadget (readonly). | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Gadgets|Gadgets]] | [[:Category:Attributes#Gadgets|Gadgets]] | ||
− | + | '''Notes''' | |
==Height== | ==Height== | ||
The section height in pixels. | The section height in pixels. | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Sections|Sections]] | [[:Category:Attributes#Sections|Sections]] | ||
− | + | '''Notes''' | |
* See also [[#Fixed height|Fixed height]]. | * See also [[#Fixed height|Fixed height]]. | ||
* See also [[Page Appearance]]. | * See also [[Page Appearance]]. | ||
Line 51: | Line 51: | ||
Render the gadget inline rather than it its own column (True | False). | Render the gadget inline rather than it its own column (True | False). | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Gadgets|Gadgets]] | [[:Category:Attributes#Gadgets|Gadgets]] | ||
− | + | '''Notes''' | |
==Margin== | ==Margin== | ||
Margin size in pixels around the gadget. | Margin size in pixels around the gadget. | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Gadgets|Gadgets]] | [[:Category:Attributes#Gadgets|Gadgets]] | ||
− | + | '''Notes''' | |
==Meta types== | ==Meta types== | ||
A comma separated list of metatype names. | A comma separated list of metatype names. | ||
− | + | '''Supported by''' | |
[[Page Attributes|Page]], [[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]], [[Field Attributes|Form Section Fields]], [[Advanced Canvas Control Attributes|Canvas Section Advanced Controls]], [[Grid Column Attributes|Grid Columns]] | [[Page Attributes|Page]], [[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]], [[Field Attributes|Form Section Fields]], [[Advanced Canvas Control Attributes|Canvas Section Advanced Controls]], [[Grid Column Attributes|Grid Columns]] | ||
− | + | '''Notes''' | |
* See [[MetaTypes]]. | * See [[MetaTypes]]. | ||
Line 76: | Line 76: | ||
The name for this container or control. | The name for this container or control. | ||
− | + | '''Supported by''' | |
[[Page Attributes|Page]], [[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]], [[Field Attributes|Form Section Fields]], [[Advanced Canvas Control Attributes|Canvas Section Advanced Controls]] | [[Page Attributes|Page]], [[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]], [[Field Attributes|Form Section Fields]], [[Advanced Canvas Control Attributes|Canvas Section Advanced Controls]] | ||
− | + | '''Notes''' | |
* The Name attribute can be queried or changed programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").id]]. | * The Name attribute can be queried or changed programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").id]]. | ||
Line 89: | Line 89: | ||
Auto stretch the width of the gadget into the width of the section (True | False) | Auto stretch the width of the gadget into the width of the section (True | False) | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Gadgets|Gadgets]] | [[:Category:Attributes#Gadgets|Gadgets]] | ||
− | + | '''Notes''' | |
==Type== | ==Type== | ||
The type of container or control (readonly). | The type of container or control (readonly). | ||
− | + | '''Supported by''' | |
[[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]], [[Field Attributes|Form Section Fields]], [[Advanced Canvas Control Attributes|Canvas Section Advanced Controls]] | [[:Category:Attributes#Sections|Sections]], [[:Category:Attributes#Gadgets|Gadgets]], [[Field Attributes|Form Section Fields]], [[Advanced Canvas Control Attributes|Canvas Section Advanced Controls]] | ||
− | + | '''Notes''' | |
* The Type attribute can be queried programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").type]]. | * The Type attribute can be queried programmatically using [[Working with the Lianja Object Model|Lianja.getElementByID("<item>").type]]. | ||
Revision as of 05:34, 18 May 2016
Under Construction
Contents
Caption
The section caption displayed in the section header.
Supported by Sections
Notes
- The Caption attribute can be queried or changed programmatically using Lianja.getElementByID("<item>").caption.
cVar = Lianja.getElementByID("page1.section1").caption
Fixed height
For Sections, the Fixed height attribute is a checkbox (True | False) determining whether the height should be fixed or not. The section height in pixels is set in the Height attribute.
For Gadgets, the Fixed height attribute defines the height of the gadget in pixels. If Fixed height is 0 (default), the gadget is autosized to the height of the containing section.
Supported by Sections, Gadgets
Notes
Fixed width
Defines the width of the gadget in pixels. If Fixed width is 0 (default), the gadget is autosized to the available width of the containing section.
Supported by Gadgets
Notes
Gadget type
The type of gadget (readonly).
Supported by Gadgets
Notes
Height
The section height in pixels.
Supported by Sections
Notes
- See also Fixed height.
- See also Page Appearance.
- For the Gadget, Form Section Field and Canvas Section Advanced Control Height attribute, see Geometry.
Inline
Render the gadget inline rather than it its own column (True | False).
Supported by Gadgets
Notes
Margin
Margin size in pixels around the gadget.
Supported by Gadgets
Notes
Meta types
A comma separated list of metatype names.
Supported by Page, Sections, Gadgets, Form Section Fields, Canvas Section Advanced Controls, Grid Columns
Notes
- See MetaTypes.
Name
The name for this container or control.
Supported by Page, Sections, Gadgets, Form Section Fields, Canvas Section Advanced Controls
Notes
- The Name attribute can be queried or changed programmatically using Lianja.getElementByID("<item>").id.
cVar = Lianja.getElementByID("page1").id cVar = Lianja.getElementByID("page1.section1").id cVar = Lianja.getElementByID("page1.section1.field1").id
Stretch width
Auto stretch the width of the gadget into the width of the section (True | False)
Supported by Gadgets
Notes
Type
The type of container or control (readonly).
Supported by Sections, Gadgets, Form Section Fields, Canvas Section Advanced Controls
Notes
- The Type attribute can be queried programmatically using Lianja.getElementByID("<item>").type.
cVar = Lianja.getElementByID("page1.section1").type cVar = Lianja.getElementByID("page1.section1.field1").type