123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- 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 onsElements from '../ons/elements';
- import BaseButtonElement from './base/base-button';
-
-
-
- var ActionSheetButtonElement = function (_BaseButtonElement) {
- _inherits(ActionSheetButtonElement, _BaseButtonElement);
-
- function ActionSheetButtonElement() {
- _classCallCheck(this, ActionSheetButtonElement);
-
- return _possibleConstructorReturn(this, (ActionSheetButtonElement.__proto__ || _Object$getPrototypeOf(ActionSheetButtonElement)).apply(this, arguments));
- }
-
- _createClass(ActionSheetButtonElement, [{
- key: '_scheme',
-
-
-
-
-
-
-
-
- get: function get() {
- return {
- '': 'action-sheet-button--*',
- '.action-sheet-icon': 'action-sheet-icon--*'
- };
- }
- }, {
- key: '_defaultClassName',
- get: function get() {
- return 'action-sheet-button';
- }
- }, {
- key: '_rippleOpt',
- get: function get() {
- return undefined;
- }
- }]);
-
- return ActionSheetButtonElement;
- }(BaseButtonElement);
-
- export default ActionSheetButtonElement;
-
-
- onsElements.ActionSheetButton = ActionSheetButtonElement;
- customElements.define('ons-action-sheet-button', ActionSheetButtonElement);
|