Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose external as a slot-scope #66

Open
mrleblanc101 opened this issue Oct 5, 2021 · 0 comments
Open

Expose external as a slot-scope #66

mrleblanc101 opened this issue Oct 5, 2021 · 0 comments

Comments

@mrleblanc101
Copy link

Expose external as a slot scope so we can conditonnaly display an icon depending on if the link is an external link or not.

<vue-link :to="data.link" slot-scope="{ external }">
    Some text <img v-if="external" src="external.svg">
</vue-link>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant