Skip to content

Commit 53dbc9f

Browse files
author
Ravi Nadahar
committed
Add documentation for regenerate rule from template
Signed-off-by: Ravi Nadahar <nadahar@rediffmail.com>
1 parent 30264fd commit 53dbc9f

11 files changed

Lines changed: 82 additions & 15 deletions
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<template>
2+
<img :style="{ height: imgHeight, 'vertical-align': imgVerticalAlign }" />
3+
</template>
4+
5+
<script>
6+
export default {
7+
props: ['height', 'verticalAlign'],
8+
computed: {
9+
imgHeight () {
10+
return this.height ? this.height : '1.5em'
11+
},
12+
imgVerticalAlign () {
13+
return this.verticalAlign ? this.verticalAlign : 'text-bottom'
14+
}
15+
}
16+
}
17+
</script>
35.9 KB
Loading
39.7 KB
Loading
38.8 KB
Loading
3.26 KB
Loading
Lines changed: 4 additions & 0 deletions
Loading
7.25 KB
Loading
6.8 KB
Loading
4.62 KB
Loading
1.94 KB
Loading

0 commit comments

Comments
 (0)