mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-08 06:51:43 +08: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();
|
|
}
|
|
|
|
} |