This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
Releases: mhayes/vue-twentytwenty
Releases · mhayes/vue-twentytwenty
Version 0.10.1
- Brings back CSS extraction. This was causing issues with SSR apps since
document
was not defined. #13
The biggest change here is that you'll need to include the CSS file when using this component, i.e.
<template>
<TwentyTwenty
before="//placehold.it/600x200/E8117F/FFFFFF"
after="//placehold.it/600x200/CCCCCC/FFFFFF" />
</template>
<script>
// NEW: Include the CSS file
import 'vue-twentytwenty/dist/vue-twentytwenty.css';
import TwentyTwenty from 'vue-twentytwenty';
export default {
components: {
TwentyTwenty
}
};
</script>
Version 0.9.0
- Made keystroke event detection compliant to https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/code #9 @micheleriva
Version 0.6.2
- Includes overlay fix from #6
Version 0.5.0
- Touch support (thanks to @mcrider)
- CSS improvements (thanks to @stijnvermeeren)
Version 0.1.0
First working beta release
Version 0.0.1
use vue syntax on readme