jupyter-vuetify
Version:
Jupyter widgets based on vuetify UI components
46 lines (42 loc) • 1.28 kB
JavaScript
import { VuetifyWidgetModel } from './VuetifyWidget';
export class InputModel extends VuetifyWidgetModel {
defaults() {
return {
...super.defaults(),
...{
_model_name: 'InputModel',
append_icon: null,
background_color: null,
color: null,
dark: null,
dense: null,
disabled: null,
error: null,
error_count: undefined,
error_messages: undefined,
height: undefined,
hide_details: undefined,
hint: null,
id: null,
label: null,
light: null,
loading: null,
messages: undefined,
persistent_hint: null,
prepend_icon: null,
readonly: null,
rules: null,
success: null,
success_messages: undefined,
validate_on_blur: null,
value: null,
},
};
}
getVueTag() { // eslint-disable-line class-methods-use-this
return 'v-input';
}
}
InputModel.serializers = {
...VuetifyWidgetModel.serializers,
};