ons-splitter-content

The <ons-splitter-content> element is used as a child element of <ons-splitter>. It contains the main content of the page while <ons-splitter-side> contains the list.

Tutorial

Tutorial will be added soon.

See also

Name Type Description
page String

The url of the content page. If this attribute is used the content will be loaded from a <template> tag or a remote file. It is also possible to put <ons-page> element as a child of the element.

Optional.
Name Description
page The page to load in the splitter content.
pageLoader Page element loaded in the splitter content.
Signature Description
load(page, [options]) Show the page specified in page in the content.
load(page, [options]): Promise

Show the page specified in page in the content.

Returns: Resolves to the new <ons-page> element

Parameters
Name Type Description
page, String Page URL. Can be either an HTML document or an <template> id.
options Object
options.callback Function

Need Help?

If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.