123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- 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 AlertDialogButtonElement = function (_BaseButtonElement) {
- _inherits(AlertDialogButtonElement, _BaseButtonElement);
-
- function AlertDialogButtonElement() {
- _classCallCheck(this, AlertDialogButtonElement);
-
- return _possibleConstructorReturn(this, (AlertDialogButtonElement.__proto__ || _Object$getPrototypeOf(AlertDialogButtonElement)).apply(this, arguments));
- }
-
- _createClass(AlertDialogButtonElement, [{
- key: '_scheme',
-
-
-
-
-
-
-
-
-
-
-
- get: function get() {
- return { '': 'alert-dialog-button--*' };
- }
- }, {
- key: '_defaultClassName',
- get: function get() {
- return 'alert-dialog-button';
- }
- }, {
- key: '_rippleOpt',
- get: function get() {
- return [this, undefined, { 'modifier': 'light-gray' }];
- }
- }]);
-
- return AlertDialogButtonElement;
- }(BaseButtonElement);
-
- export default AlertDialogButtonElement;
-
-
- onsElements.AlertDialogButton = AlertDialogButtonElement;
- customElements.define('ons-alert-dialog-button', AlertDialogButtonElement);
|