This file contains 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
<template> | |
<transition name="flip" mode="out-in"> | |
<slot v-if="!isShowing"></slot> | |
<img v-else src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/cartoonvideo14.jpeg" /> | |
</transition> | |
</template> |
This file contains 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
<template> | |
<div class="page-cart cart-popup"> | |
<div ref="cartPopUp" class="cart-popup-container" | |
:class="{'active': isOpen}"> | |
<div @click="togglePopUpDisplay" | |
class="button-toggle"> | |
<div class="toggle-icon"></div> | |
</div> | |
<div class="popup-info"> |
This file contains 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
<script> | |
var ua = window.navigator.userAgent; | |
var msie = ua.indexOf('MSIE '); | |
var trident = ua.indexOf('Trident/'); | |
var edge = ua.indexOf('Edge/'); | |
if ((msie > 0) || (trident > 0) || (edge > 0)) { | |
var blueBird = document.createElement('script'); |