Last active
April 17, 2019 13:22
-
-
Save cannap/323b55c5d09858d517c9bf536ba01543 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Child | |
<template> | |
<no-ssr> | |
<vuetable | |
ref="vuetable" | |
:api-url="apiURL" | |
:slots="$slots" | |
v-bind="tableOptions" | |
v-on="$listeners" /> | |
<!-- here i want to use the slots from the other components --> | |
</no-ssr> | |
</template> | |
<-- Parent --> | |
<div class="wallets"> | |
<s-table | |
:path="path" | |
:options="tableOptions" | |
@vuetable:row-clicked="clicked"> | |
<div slot="currency" slot-scope="props"> | |
<span v-if="props.rowData.gender === 'M'" class="ui teal label"><i class="large man icon"></i>Male</span> | |
<span v-else class="ui pink label"><i class="large woman icon"></i>Female</span> | |
</div> | |
</s-table> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment