Namespace: masseuse/plugins/rivets/RivetsView

masseuse/plugins/rivets/RivetsView

RivetView is in the plugins: masseuse.plugin.rivets.RivetsView

RivetView = masseuse.plugin.rivets.RivetsView;
rivetView = new RivetView({
 el : '#blah',
 templateHtml : '<div>{{data.title}}</div>',
 modelData : {
     title : 'There it is.'
 }
}).start();

After the view starts, the following html:

<div id="blah"></div>

will be riveted to rivetView.model and the html will look like:

<div id="blah">
<div>There it is.</div>
</div>

See the Rivets.js Repo for more information.

Source: