2018-01-30 10:28:28 +01:00
|
|
|
/**
|
|
|
|
* BetterDiscord Sidebar View Component
|
|
|
|
* Copyright (c) 2015-present Jiiks/JsSucks - https://github.com/Jiiks / https://github.com/JsSucks
|
|
|
|
* All rights reserved.
|
|
|
|
* https://betterdiscord.net
|
|
|
|
*
|
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
|
|
|
*/
|
|
|
|
|
|
|
|
<template>
|
2018-08-15 11:42:43 +02:00
|
|
|
<div class="bd-sidebarView" :class="{'bd-active': contentVisible, animating: animating}">
|
2018-08-15 04:03:56 +02:00
|
|
|
<div class="bd-sidebarRegion bd-flexCol">
|
2018-02-17 02:39:43 +01:00
|
|
|
<div class="bd-settingswrap">
|
2018-01-30 10:28:28 +01:00
|
|
|
<ScrollerWrap dark="true">
|
|
|
|
<slot name="sidebar" />
|
|
|
|
</ScrollerWrap>
|
|
|
|
</div>
|
2018-02-03 06:38:28 +01:00
|
|
|
<slot name="sidebarfooter"/>
|
2018-01-30 10:28:28 +01:00
|
|
|
</div>
|
2018-08-15 04:03:56 +02:00
|
|
|
<div class="bd-contentRegion">
|
2018-01-30 10:28:28 +01:00
|
|
|
<slot name="content" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
2018-03-30 02:07:56 +02:00
|
|
|
|
2018-01-30 10:28:28 +01:00
|
|
|
<script>
|
|
|
|
// Imports
|
|
|
|
import { ScrollerWrap } from '../common';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
props: ['contentVisible', 'animating'],
|
|
|
|
components: {
|
|
|
|
ScrollerWrap
|
|
|
|
}
|
|
|
|
}
|
2018-01-30 11:01:24 +01:00
|
|
|
</script>
|