BookStack/resources/js/components/auto-submit.js

11 lines
166 B
JavaScript
Raw Normal View History

import {Component} from "./component";
export class AutoSubmit extends Component {
setup() {
this.form = this.$el;
this.form.submit();
}
}