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

See also

Attributes

Name Type Default Value Description
page String

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

Optional.

Properties

Name Description
page The page to load in the splitter content.
pageLoader Page element loaded in the splitter content.

Methods Summary

Signature Description
load(page, [options]) Show the page specified in page in the content.

Methods

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 <ons-template> id.
options Object
options.callback Function

Discussion

Need Help?

If you have any questions, use our Community Forum or talk to us via Gitter 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.