-
Notifications
You must be signed in to change notification settings - Fork 4
Container
Eric edited this page Aug 25, 2023
·
18 revisions
Container is an object that generates OML placeholders. It uses optional Tabs, and Carousel
Extends
Uxi, Placeholder
Requires
Tabs, Carousel
Format
{"selector:Container":{CONFIG}}
Example
{"selector:Container":{
"tabs":{"list":["tabA", "tabB", "tabC"]},
"node:OML":[
{"default:Html":{"html":"ContentA"}},
{"default:Html":{"html":"ContentB"}},
{"default:Html":{"html":"ContentC"}}
]
}}
"id":STRING,
"tabs":BOOL|OBJECT, //config for tabs, optional
"carousel":OBJECT, //config for carousel, optional
"index":INT, //index to select
"node:OML":ARRAY|STRING,
"flatten":INT //Width at which the container flattens, optional
index(_INDEX_) //show tab & object given index
show(_TYPE_, _ID_) //show tab & object given object type and id
tabs //OGX.Tab object
carousel //OGX.Carousel object
- Welcome
- Changelog
- Structure
- Configuration
- Getting started
- CLI
- Poly
- Core
- Templating
- Routing
- Controllers
- Components
- Extra Components
- Helpers
- Styling
- Debugging