ambitious-knife-25690
05/13/2022, 3:05 PMe.value.value because presently i can't actually get access to value in a type safe mannerambitious-knife-25690
05/13/2022, 3:05 PMbright-gpu-74537
05/13/2022, 3:20 PMbright-gpu-74537
05/13/2022, 3:20 PMmyDropdown.selectedItem.fooambitious-knife-25690
05/13/2022, 3:22 PMbright-gpu-74537
05/13/2022, 3:22 PMhaxe
theme.onChange = function(_) {
trace(theme.selectedItem.value);
}bright-gpu-74537
05/13/2022, 3:22 PMambitious-knife-25690
05/13/2022, 3:23 PMbright-gpu-74537
05/13/2022, 3:28 PMhaxe
@:bind(theme, UIEvent.CHANGE)
function foo(_) {
trace(theme.selectedItem.value);
}bright-gpu-74537
05/13/2022, 3:29 PMbest-needle-18998
05/13/2022, 3:49 PM.selectedItem returning the object is the best option
* .selectedIndex or .pos should return the indexed position
* .selectedId should be equivalent to .selectedItem.id
* .value should be equivalent to .selectedItem.value
* .text should be equivalent to .selectedItem.textbest-needle-18998
05/13/2022, 3:53 PMbright-gpu-74537
05/13/2022, 4:26 PMbright-gpu-74537
05/13/2022, 4:26 PMbright-gpu-74537
05/13/2022, 4:28 PMmost-caravan-45834
05/13/2022, 6:28 PMfull-journalist-82607
05/13/2022, 6:29 PMfull-journalist-82607
05/13/2022, 6:30 PMmost-caravan-45834
05/13/2022, 6:32 PMbright-gpu-74537
05/13/2022, 6:32 PMScreen.instance.registerEvent(UIEvent.RESIZE, ...) should work as yoplala saidmost-caravan-45834
05/13/2022, 6:34 PMmost-caravan-45834
05/13/2022, 6:34 PMbright-gpu-74537
05/13/2022, 6:35 PMmost-caravan-45834
05/13/2022, 6:35 PMmost-caravan-45834
05/13/2022, 6:36 PMbright-gpu-74537
05/13/2022, 6:36 PMmost-caravan-45834
05/13/2022, 6:36 PMbright-gpu-74537
05/13/2022, 6:36 PMfull-journalist-82607
05/13/2022, 6:46 PM