mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-28 05:15:54 +00:00
* Added: Setting to hide Drops messages in chat. * Fixed: Chat Colors not being applied to chat in Mod View. * Fixed: The color of the search input not being affected. * Changed: Add a disclaimer to the `Show Overlay Extensions` setting to clarify that it does not prevent extensions from loading. * Changed: Wait up to a full minute for add-on scripts to load. * API Added: The `<react-link />` Vue component now has a `state` prop for passing state data with links, necessary for navigating to certain Twitch pages.
23 lines
No EOL
350 B
Vue
23 lines
No EOL
350 B
Vue
<template>
|
|
<a :href="href" @click="onClick($event)">
|
|
<slot />
|
|
</a>
|
|
</template>
|
|
|
|
<script>
|
|
|
|
export default {
|
|
props: ['href', 'click', 'state'],
|
|
|
|
methods: {
|
|
onClick(event) {
|
|
this.$emit('click', event);
|
|
|
|
if ( ! event.defaultPrevented && ! this.href.includes('//') )
|
|
this.reactNavigate(this.href, event, this.state);
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
</script> |