-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcard.vue
29 lines (28 loc) · 916 Bytes
/
card.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<template lang="pug">
.container
.row
.col.s12.m6
card
img(slot="img" src="http://materializecss.com/images/office.jpg")
span(slot="title") Title (click me)
p Some Content
span(slot="revealTitle") Title (click me)
p(slot="reveal") Significantly more Content
a(slot="action" href="#card") Some action
.row
.col.s12.m6
card.sticky-action
img(slot="img" src="http://materializecss.com/images/office.jpg")
span(slot="title") Title (click me)
p Some Content
span(slot="revealTitle") Title (click me)
p(slot="reveal") Significantly more Content
a(slot="action" href="#card") Some sticky action
p
a(href="https://github.com/vue-comps/vue-collapsible/blob/master/dev/basic.vue") source
</template>
<script lang="coffee">
module.exports =
components:
"card" : require "../src/card"
</script>