Bundled card classes.

This commit is contained in:
2019-07-16 09:27:48 +02:00
parent 54912ad37e
commit 09b50d3b81
6 changed files with 2152 additions and 108 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ const enableNearestNeighborTaps = false
*
* The class is used as a namespace and should never called with new.
*/
class Card {
export default class Card {
static setup(context, modules = []) {
console.log("Setup Card...", modules)
+1 -1
View File
@@ -30,7 +30,7 @@ function round(value) {
* @class Highlight
* @extends {Object}
*/
export class Highlight extends Object {
export default class Highlight extends Object {
static disableAnimations() {
_HighlightEnabled = false
+1 -1
View File
@@ -6,7 +6,7 @@
*
* @class Theme
*/
class Theme {
export default class Theme {
/**
* Loads a config file and parses it to JSON.
+1 -1
View File
@@ -4,7 +4,7 @@
import Events from '../events.js'
import { Points } from '../utils.js'
export class CardWrapper extends Object {
export default class CardWrapper extends Object {
constructor(domNode, { triggerSVGClicks = true, allowClickDistance = 44 } = {}) {
super()