jupyter-vuetify
Version:
Jupyter widgets based on vuetify UI components
65 lines (61 loc) • 2.07 kB
JavaScript
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import { VuetifyWidgetModel } from './VuetifyWidget';
export class BtnModel extends VuetifyWidgetModel {
defaults() {
return _objectSpread({}, super.defaults(), {
_model_name: 'BtnModel',
absolute: null,
active_class: null,
append: null,
block: null,
bottom: null,
color: null,
dark: null,
depressed: null,
disabled: null,
elevation: undefined,
exact: null,
exact_active_class: null,
fab: null,
fixed: null,
height: undefined,
href: undefined,
icon: null,
input_value: null,
large: null,
left: null,
light: null,
link: null,
loading: null,
max_height: undefined,
max_width: undefined,
min_height: undefined,
min_width: undefined,
nuxt: null,
outlined: null,
replace: null,
retain_focus_on_click: null,
right: null,
ripple: undefined,
rounded: null,
small: null,
tag: null,
target: null,
text: null,
tile: null,
to: undefined,
top: null,
type: null,
value: null,
width: undefined,
x_large: null,
x_small: null
});
}
getVueTag() {
// eslint-disable-line class-methods-use-this
return 'v-btn';
}
}
BtnModel.serializers = _objectSpread({}, VuetifyWidgetModel.serializers);