jupyter-vuetify
Version:
Jupyter widgets based on vuetify UI components
62 lines (58 loc) • 1.86 kB
JavaScript
import { VuetifyWidgetModel } from './VuetifyWidget';
export class MenuModel extends VuetifyWidgetModel {
defaults() {
return {
...super.defaults(),
...{
_model_name: 'MenuModel',
absolute: null,
activator: null,
allow_overflow: null,
attach: null,
auto: null,
bottom: null,
close_delay: undefined,
close_on_click: null,
close_on_content_click: null,
content_class: null,
dark: null,
disable_keys: null,
disabled: null,
eager: null,
fixed: null,
internal_activator: null,
left: null,
light: null,
max_height: undefined,
max_width: undefined,
min_width: undefined,
nudge_bottom: undefined,
nudge_left: undefined,
nudge_right: undefined,
nudge_top: undefined,
nudge_width: undefined,
offset_overflow: null,
offset_x: null,
offset_y: null,
open_delay: undefined,
open_on_click: null,
open_on_hover: null,
origin: null,
position_x: null,
position_y: null,
return_value: null,
right: null,
top: null,
transition: undefined,
value: null,
z_index: undefined,
},
};
}
getVueTag() { // eslint-disable-line class-methods-use-this
return 'v-menu';
}
}
MenuModel.serializers = {
...VuetifyWidgetModel.serializers,
};