mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Updates old components to newer format, removes legacy component support. - Makes component registration easier and less duplicated. - Adds base component class to extend for better editor support. - Aligns global window exposure usage and aligns with other service names.
11 lines
166 B
JavaScript
11 lines
166 B
JavaScript
import {Component} from "./component";
|
|
|
|
export class AutoSubmit extends Component {
|
|
|
|
setup() {
|
|
this.form = this.$el;
|
|
|
|
this.form.submit();
|
|
}
|
|
|
|
} |