Should load external content into a page using `source` and trigger `sourceLoaded` event #5

finnsson opened this Issue Aug 25, 2012 · 0 comments


None yet

1 participant

<div data-bind="page: {id: 'lorem', source: 'lorem.html .content', sourceLoaded: loremIsLoaded}"></div>

The source can contain a selector (see .content above) in order to extract a fragment on the site.
In the example above loremIsLoaded is a function that is triggered after lorem.html is loaded.

@finnsson finnsson closed this Aug 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment