X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..refs/pull/3908/head:/resources/js/components/event-emit-select.js diff --git a/resources/js/components/event-emit-select.js b/resources/js/components/event-emit-select.js index cf0215850..2e6fd5fdb 100644 --- a/resources/js/components/event-emit-select.js +++ b/resources/js/components/event-emit-select.js @@ -1,4 +1,5 @@ import {onSelect} from "../services/dom"; +import {Component} from "./component"; /** * EventEmitSelect @@ -10,10 +11,8 @@ import {onSelect} from "../services/dom"; * * All options will be set as the "detail" of the event with * their values included. - * - * @extends {Component} */ -class EventEmitSelect { +export class EventEmitSelect extends Component{ setup() { this.container = this.$el; this.name = this.$opts.name; @@ -24,6 +23,4 @@ class EventEmitSelect { }); } -} - -export default EventEmitSelect; \ No newline at end of file +} \ No newline at end of file