-
Notifications
You must be signed in to change notification settings - Fork 0
Flip
Eric edited this page Feb 7, 2024
·
3 revisions
Flip is a component that generates 2 OML placeholders and flips from one panel (OML tree) to the other (OML tree)
{"default:Flip":{
"node:OML" : [OML_A, OML_B]
}}
myFlip.flip(); //flips
myFlip.val(); //returns side, either 0 or 1
{"default:Flip":{
"node:OML" : [
{"default:Html":{
"html" : "Side A"
}},
{"default:Html":{
"html" : "Side B"
}}
]
}}