Skip to content

Instantly share code, notes, and snippets.

@iggymacd
Created January 26, 2013 14:31
Show Gist options
  • Save iggymacd/4642723 to your computer and use it in GitHub Desktop.
Save iggymacd/4642723 to your computer and use it in GitHub Desktop.
SelectElement get _outputItems => _root.query('#outputitems');
void update(Event e) {
List<OptionElement> currentOptions = _outputItems.options;
for(final currentOption in currentOptions){
if(currentOption.selected){
//do something here
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment