@deckdeckgo/core
Advanced tools
Comparing version
@@ -0,1 +1,7 @@ | ||
# 8.2.1 (2021-05-29) | ||
### Fix | ||
- emit events (for animation) on keyboard triggers | ||
# 8.2.0 (2021-05-29) | ||
@@ -2,0 +8,0 @@ |
@@ -222,6 +222,6 @@ 'use strict'; | ||
if (['ArrowLeft', 'k', 'PageUp'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(false, true); | ||
await this.slideNextPrev(false, true, true); | ||
} | ||
else if (['ArrowRight', 'j', 'PageDown'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(true, true); | ||
await this.slideNextPrev(true, true, true); | ||
} | ||
@@ -228,0 +228,0 @@ }; |
@@ -53,6 +53,6 @@ import { Component, Element, Listen, Method, Prop, State, Event, h, Watch, Host } from '@stencil/core'; | ||
if (['ArrowLeft', 'k', 'PageUp'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(false, true); | ||
await this.slideNextPrev(false, true, true); | ||
} | ||
else if (['ArrowRight', 'j', 'PageDown'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(true, true); | ||
await this.slideNextPrev(true, true, true); | ||
} | ||
@@ -59,0 +59,0 @@ }; |
@@ -221,6 +221,6 @@ import { h as h$1, attachShadow, createEvent, Host, proxyCustomElement } from '@stencil/core/internal/client'; | ||
if (['ArrowLeft', 'k', 'PageUp'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(false, true); | ||
await this.slideNextPrev(false, true, true); | ||
} | ||
else if (['ArrowRight', 'j', 'PageDown'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(true, true); | ||
await this.slideNextPrev(true, true, true); | ||
} | ||
@@ -227,0 +227,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
import{p as e,b as o}from"./p-9eee8309.js";(()=>{const o=import.meta.url,i={};return""!==o&&(i.resourcesUrl=new URL(".",o).href),e(i)})().then((e=>o([["p-4443af8e",[[1,"deckgo-deck",{keyboard:[4],embedded:[4],cloneBackground:[4,"clone-background"],reveal:[4],revealOnMobile:[4,"reveal-on-mobile"],animation:[513],direction:[513],directionMobile:[513,"direction-mobile"],autoSlide:[1,"auto-slide"],autoSlideInterval:[2,"auto-slide-interval"],rtl:[32],activeIndex:[32],dir:[32],initSlideSize:[64],toggleKeyboardAssist:[64],getDeckDefinition:[64],getSlideDefinition:[64],loadBackground:[64],loadHeader:[64],loadFooter:[64],isBeginning:[64],isEnd:[64],getActiveIndex:[64],getLength:[64],slideNext:[64],slidePrev:[64],slideTo:[64],deleteActiveSlide:[64],blockSlide:[64],toggleFullScreen:[64],doPrint:[64],lazyLoadAllContent:[64]},[[1,"mousedown","mousedown"],[1,"touchstart","touchstart"],[1,"mouseup","mouseup"],[1,"touchend","touchend"],[1,"mousemove","mousemove"],[1,"touchmove","touchmove"],[1,"dblclick","dblclick"],[1,"contextmenu","contextMenu"],[0,"scrolling","scrolling"],[0,"keypress","keypress"],[0,"slideDidLoad","slideDidLoad"]]]]]],e))); | ||
import{p as e,b as o}from"./p-9eee8309.js";(()=>{const o=import.meta.url,i={};return""!==o&&(i.resourcesUrl=new URL(".",o).href),e(i)})().then((e=>o([["p-1c25b04d",[[1,"deckgo-deck",{keyboard:[4],embedded:[4],cloneBackground:[4,"clone-background"],reveal:[4],revealOnMobile:[4,"reveal-on-mobile"],animation:[513],direction:[513],directionMobile:[513,"direction-mobile"],autoSlide:[1,"auto-slide"],autoSlideInterval:[2,"auto-slide-interval"],rtl:[32],activeIndex:[32],dir:[32],initSlideSize:[64],toggleKeyboardAssist:[64],getDeckDefinition:[64],getSlideDefinition:[64],loadBackground:[64],loadHeader:[64],loadFooter:[64],isBeginning:[64],isEnd:[64],getActiveIndex:[64],getLength:[64],slideNext:[64],slidePrev:[64],slideTo:[64],deleteActiveSlide:[64],blockSlide:[64],toggleFullScreen:[64],doPrint:[64],lazyLoadAllContent:[64]},[[1,"mousedown","mousedown"],[1,"touchstart","touchstart"],[1,"mouseup","mouseup"],[1,"touchend","touchend"],[1,"mousemove","mousemove"],[1,"touchmove","touchmove"],[1,"dblclick","dblclick"],[1,"contextmenu","contextMenu"],[0,"scrolling","scrolling"],[0,"keypress","keypress"],[0,"slideDidLoad","slideDidLoad"]]]]]],e))); |
@@ -218,6 +218,6 @@ import { h as h$1, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-998c833e.js'; | ||
if (['ArrowLeft', 'k', 'PageUp'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(false, true); | ||
await this.slideNextPrev(false, true, true); | ||
} | ||
else if (['ArrowRight', 'j', 'PageDown'].indexOf($event.key) !== -1) { | ||
await this.slideNextPrev(true, true); | ||
await this.slideNextPrev(true, true, true); | ||
} | ||
@@ -224,0 +224,0 @@ }; |
{ | ||
"name": "@deckdeckgo/core", | ||
"version": "8.2.0", | ||
"version": "8.2.1", | ||
"description": "Add a presentation to your web application using HTML and Web Components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
525434
0.03%