import _Promise from 'babel-runtime/core-js/promise'; import _Object$getPrototypeOf from 'babel-runtime/core-js/object/get-prototype-of'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import _setImmediate from 'babel-runtime/core-js/set-immediate'; /* Copyright 2013-2015 ASIAL CORPORATION Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ import onsElements from '../ons/elements'; import util from '../ons/util'; import internal from '../ons/internal'; import ModifierUtil from '../ons/internal/modifier-util'; import BaseElement from './base/base-element'; import { PageLoader, defaultPageLoader } from '../ons/page-loader'; import contentReady from '../ons/content-ready'; var rewritables = { /** * @param {Element} element * @param {Function} callback */ ready: function ready(element, callback) { _setImmediate(callback); } }; /** * @element ons-splitter-content * @category menu * @description * [en] * The `` element is used as a child element of ``. * * It contains the main content of the page while `` contains the list. * [/en] * [ja]ons-splitter-content要素は、ons-splitter要素の子要素として利用します。[/ja] * @codepen rOQOML * @tutorial vanilla/Reference/splitter * @guide fundamentals.html#managing-pages * [en]Managing multiple pages.[/en] * [ja]複数のページを管理する[/ja] * @seealso ons-splitter * [en]The `` component is the parent element.[/en] * [ja]ons-splitterコンポーネント[/ja] * @seealso ons-splitter-side * [en]The `` component contains the menu.[/en] * [ja]ons-splitter-sideコンポーネント[/ja] * @example * * * ... * * * * ... * * */ var SplitterContentElement = function (_BaseElement) { _inherits(SplitterContentElement, _BaseElement); /** * @attribute page * @type {String} * @description * [en] * The url of the content page. If this attribute is used the content will be loaded from a `