Come build with us.
Stacks API v13 for Stacks 5.0
%id=propertyID%
%id=<property_id>%
<property_id>
- The name of the property to return.or for control arrays
%id=<property_id>[<index>]%
<property_id>
- The name of the property to return.<index>
- The index of the array item. Indexes count from zero.This template returns the value of a property. Properties and their corresponding controls are defined in the Info.plist file. When a user changes the properties by adjusting the controls, this value will change in real time.
template:
The slider value is: %id=slider_id%
exported HTML with the slider set to 10:
The slider value is: 10
template:
Image size to: %id=number_id[0]% x %id=number_id[1]%
exported HTML with the values 800 and 600 in the number fields:
Image size to: 800 x 600
template:
.myTextClass {
text-alignment:
%[if %id=radioButton[0]% ]% left; %[endif]%
%[if %id=radioButton[1]% ]% center; %[endif]%
%[if %id=radioButton[2]% ]% right; %[endif]%
}
exported CSS with the middle button pushed:
.myTextClass {
text-alignment:
center;
}