1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-21 10:08:15 +09:00
MisskeyIO/src/client/app/desktop/views/components/settings-window.vue

31 lines
560 B
Vue
Raw Normal View History

2018-02-13 08:24:44 +09:00
<template>
<mk-window ref="window" is-modal width="700px" height="550px" @closed="destroyDom">
2018-05-26 12:19:49 +09:00
<span slot="header" :class="$style.header">%fa:cog%%i18n:@settings%</span>
<mk-settings :initial-page="initialPage" @done="close"/>
2018-02-13 08:24:44 +09:00
</mk-window>
</template>
2018-02-18 23:51:41 +09:00
<script lang="ts">
import Vue from 'vue';
2018-02-23 02:06:35 +09:00
export default Vue.extend({
props: {
initialPage: {
type: String,
required: false
}
},
2018-02-23 02:06:35 +09:00
methods: {
close() {
(this as any).$refs.window.close();
}
}
});
2018-02-18 23:51:41 +09:00
</script>
2018-02-13 08:24:44 +09:00
<style lang="stylus" module>
.header
> [data-fa]
margin-right 4px
</style>