Added support for DOM cards.

This commit is contained in:
2019-07-12 14:33:15 +02:00
parent d04f92ee7f
commit e1b5c45b52
10 changed files with 941 additions and 386 deletions
+3 -3
View File
@@ -199,7 +199,7 @@ export class DOMFlip {
translatable = true,
scalable = true,
rotatable = true,
clickOnTap = false,
tapDelegateFactory = null,
onFront = null,
onBack = null,
onClose = null,
@@ -219,7 +219,7 @@ export class DOMFlip {
this.translatable = translatable
this.scalable = scalable
this.rotatable = rotatable
this.clickOnTap = clickOnTap
this.tapDelegateFactory = tapDelegateFactory
this.onFrontFlipped = onFront
this.onBackFlipped = onBack
this.onClose = onClose
@@ -275,7 +275,7 @@ export class DOMFlip {
scalable: this.scalable,
rotatable: this.rotatable,
overdoScaling: this.overdoScaling,
clickOnTap: this.clickOnTap
tapDelegate: (this.tapDelegateFactory) ? this.tapDelegateFactory(this.cardWrapper) : null
}
)