Created
August 31, 2019 07:01
-
-
Save code-machina/5f4393dcefd60aca09cd83ea45d3dbd3 to your computer and use it in GitHub Desktop.
코마의 featureful Table 샘플 (VUe.js)
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
<!-- | |
filename: FeaturefulTableComp.vue | |
writer: code-machina | |
// IoC 컨테이너 용 설정 | |
depends on: { | |
'scss': [ | |
'@/static/scss/Table.scss', | |
// 생략 | |
], | |
'js' : [ | |
'@/utils/common.js', | |
] | |
} | |
usage: | |
<coma-table :caption="caption" | |
:unit-page="max_page" | |
// 생략 | |
> | |
--> | |
<template> | |
<div class="wrapper"> | |
<coma-table> | |
<!-- 생략 --> | |
</coma-table> | |
</div> | |
</template> | |
<script> | |
export default { | |
name: "coma-table", | |
props: { | |
caption: { | |
type: String, | |
default: "코마의 테이블" | |
}, | |
// 생략 | |
}, | |
methods: { | |
pagination: () => { /* 생략*/ }, | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment