Skip to content

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

Closed
@finnsson

Description

@finnsson
<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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions