]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/popup.js
Updated another set of components
[bookstack] / resources / js / components / popup.js
index ec111963f51e65358c51d5d3333bd5d47fb8e55d..4c20876f854dbfd8441b7cd4d3d8ffb38bc6c28d 100644 (file)
@@ -1,13 +1,13 @@
 import {fadeIn, fadeOut} from "../services/animations";
 import {onSelect} from "../services/dom";
+import {Component} from "./component";
 
 /**
  * Popup window that will contain other content.
  * This component provides the show/hide functionality
  * with the ability for popup@hide child references to close this.
- * @extends {Component}
  */
-class Popup {
+export class Popup extends Component {
 
     setup() {
         this.container = this.$el;
@@ -56,6 +56,4 @@ class Popup {
         this.onHide = onHide;
     }
 
-}
-
-export default Popup;
\ No newline at end of file
+}
\ No newline at end of file