Cedric Krause
Cedric Krause

Reputation: 381

Combine knockout.js and polymer

is there a way to bind properties of a custom polymer-element with knockout.js?

Like this way:

<my-polymer-element data-bind="customproperty: vmproperty"></my-polymer-element>

Upvotes: 0

Views: 354

Answers (1)

Rene Pot
Rene Pot

Reputation: 24815

you could use the attr binding:

<my-polymer-element data-bind="attr: { customproperty: vmproperty }"></my-polymer-element>

Upvotes: 1

Related Questions