jormungandr-bite/src/client/app/desktop/views/components/settings-window.vue

25 lines
459 B
Vue
Raw Normal View History

2018-02-12 16:24:44 -07:00
<template>
2018-02-22 10:06:35 -07:00
<mk-window ref="window" is-modal width="700px" height="550px" @closed="$destroy">
2018-05-25 21:19:49 -06:00
<span slot="header" :class="$style.header">%fa:cog%%i18n:@settings%</span>
2018-02-22 10:06:35 -07:00
<mk-settings @done="close"/>
2018-02-12 16:24:44 -07:00
</mk-window>
</template>
2018-02-18 07:51:41 -07:00
<script lang="ts">
import Vue from 'vue';
2018-02-22 10:06:35 -07:00
export default Vue.extend({
methods: {
close() {
(this as any).$refs.window.close();
}
}
});
2018-02-18 07:51:41 -07:00
</script>
2018-02-12 16:24:44 -07:00
<style lang="stylus" module>
.header
> [data-fa]
margin-right 4px
</style>