This is a migrated thread and some comments may be shown as answers.

Need to bind to an external template

0 Answers 34 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Veteran
sitefinitysteve asked on 19 Nov 2012, 08:08 PM
My controls are widgets, so if I define my template in the markup it appears twice on the page...

Is there a way with the MVVM that I can move the template out to my JS and still bind it?...like a data-bind="template: markup, source: data" or something?

Steve

No answers yet. Maybe you can help?

Tags
MVVM
Asked by
sitefinitysteve
Top achievements
Rank 2
Veteran
Share this question
or