mirror of
				https://github.com/BookStackApp/BookStack.git
				synced 2025-11-04 13:31:45 +03:00 
			
		
		
		
	- 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();
 | 
						|
    }
 | 
						|
 | 
						|
} |