SwitchCore

Constructor

@:value({ def : -1 })new(objects:Array<T>, def:Int = -1)

Variables

active:Int

read onlyonClose:Signal2<T, UInt>

read onlyonOpen:Signal2<T, UInt>

Methods

inlinecloseActive():Void

inlineinit():Void

inlineopen(obj:T):Void

set_active(id:Int):Int