Lymp
Lymp

Reputation: 973

Dart polymer paper element - how to set attributes (dismissive and affirmative)

I am trying this:

PaperButton pbOK = new PaperButton();
pbOK.innerHtml="OK";
pbOK.attributes={"affirmative":"xxxxx"};//wrong of course..??

which is Dart compiler-legal, but is incorrect.
What should it be please?

Upvotes: 0

Views: 38

Answers (1)

Günter Zöchbauer
Günter Zöchbauer

Reputation: 657466

pbOK.attributes["affirmative"] = "xxxxx"

Upvotes: 1

Related Questions