-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from ajomuch92/feature/tooltip
- Fixing small bugs - Adding more slots for icons - Adding tooltip component
- Loading branch information
Showing
25 changed files
with
443 additions
and
142 deletions.
There are no files selected for viewing
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
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
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
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
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,46 @@ | ||
<template> | ||
<div class="p-6"> | ||
<h1 class="text-3xl my-2">Offcanvas</h1> | ||
<h1 class="text-lg my-1">Left (by default)</h1> | ||
<te-switch label="Open left" v-model="showLeft" /> | ||
<te-offcanvas v-model="showLeft"> | ||
Left Panel | ||
</te-offcanvas> | ||
<code-view :code="code[0]" /> | ||
<h1 class="text-lg my-1">Right</h1> | ||
<te-switch label="Open right" v-model="showRight" /> | ||
<te-offcanvas v-model="showRight" position="right"> | ||
Right Panel | ||
</te-offcanvas> | ||
<code-view :code="code[1]" /> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import CodeView from '../components/CodeView.vue'; | ||
export default { | ||
components: { CodeView }, | ||
name: 'Offcanvas', | ||
data: () => ({ | ||
showRight: false, | ||
showLeft: false, | ||
code: [ | ||
` | ||
<te-offcanvas v-model="showLeft"> | ||
Left Panel | ||
</te-offcanvas> | ||
`, | ||
` | ||
<te-offcanvas v-model="showRight" position="right"> | ||
Right Panel | ||
</te-offcanvas> | ||
`, | ||
] | ||
}), | ||
} | ||
</script> | ||
|
||
<style> | ||
</style> |
Oops, something went wrong.