forked from yansern/vue-multipane
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9a17be
commit d850f62
Showing
9 changed files
with
12,323 additions
and
20 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import VerticalPanes from './VerticalPanes.vue'; | ||
import HorizontalPanes from './HorizontalPanes.vue'; | ||
import CustomResizer from './CustomResizer.vue'; | ||
import CombinedVerticalHorizontalPanes from './CombinedVerticalHorizontalPanes.vue'; | ||
|
||
export default { | ||
components: { | ||
VerticalPanes, | ||
HorizontalPanes, | ||
CustomResizer, | ||
CombinedVerticalHorizontalPanes, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<template> | ||
<multipane layout="vertical" class="container"> | ||
<div class="left"> | ||
<h6 class="title is-6">Pane 1</h6> | ||
</div> | ||
<multipane-resizer></multipane-resizer> | ||
<multipane layout="horizontal" class="right"> | ||
<div class="top"> | ||
<h6 class="title is-6">Pane 2</h6> | ||
</div> | ||
<multipane-resizer></multipane-resizer> | ||
<div class="bottom"> | ||
<h6 class="title is-6">Pane 3</h6> | ||
</div> | ||
</multipane> | ||
</multipane> | ||
</template> | ||
|
||
<script> | ||
import { Multipane, MultipaneResizer } from '@/src'; | ||
export default { | ||
components: { | ||
Multipane, | ||
MultipaneResizer, | ||
}, | ||
}; | ||
</script> | ||
|
||
<style> | ||
.container { | ||
height: 600px; | ||
width: 100%; | ||
} | ||
.left { | ||
width: 50%; | ||
min-width: 20%; | ||
max-width: 80%; | ||
height: 600px; | ||
border: 1px solid #ccc; | ||
background: #eee; | ||
} | ||
.right { | ||
flex-grow: 1; | ||
height: 600px; | ||
border: 1px solid #ccc; | ||
background: #eee; | ||
} | ||
.top { | ||
height: 300px; | ||
min-height: 20%; | ||
max-height: 80%; | ||
width: 100%; | ||
border: 1px solid #ccc; | ||
background: #eee; | ||
} | ||
.bottom { | ||
flex-grow: 1; | ||
width: 100%; | ||
border: 1px solid #ccc; | ||
background: #eee; | ||
} | ||
</style> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.