]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/submit-on-change.js
Covered app icon setting with testing
[bookstack] / resources / js / components / submit-on-change.js
index aeacae23213bd96b94290ed9ab6a4e9e131a4b78..da4ac699608f21a11a5392dfd272a3492ae178a9 100644 (file)
@@ -1,9 +1,10 @@
+import {Component} from "./component";
+
 /**
  * Submit on change
  * Simply submits a parent form when this input is changed.
- * @extends {Component}
  */
-class SubmitOnChange {
+export class SubmitOnChange extends Component {
 
     setup() {
         this.filter = this.$opts.filter;
@@ -21,6 +22,4 @@ class SubmitOnChange {
         });
     }
 
-}
-
-export default SubmitOnChange;
\ No newline at end of file
+}
\ No newline at end of file