I'm trying to use the excellent Bootjack library with PolymerDart, and although the CSS theming is working, the dart code isn't executing in the Polymer component.
I've created a dead simple test showing the problem. You'll see the raw html version works fine, but the shadow DOM version doesn't.
Here is the gist. Just download as a zip, it has everything to not work ;)
Any help would be greatly appreciated.
-- Update -- After TinyFox's advice of directly wiring up the control, it now half works. I've updated the gist with the change.
-- Shane
The code is not executed because the way you include the main.dart file is outdated.
use
The dropdown still doesn't work probably because
in packages/bootjack/src/dropdown.dart where _TOGGLE_SELECTOR is (same file)
isn't working as expected. I guess the selector doesn't find elements inside a polymer element even if you have set
applyAuthorStylesto true.