UNPKG

tsparticles

Version:

Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

23 lines (22 loc) 871 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Constants = void 0; class Constants { } exports.Constants = Constants; Constants.canvasClass = "tsparticles-canvas-el"; Constants.randomColorValue = "random"; Constants.midColorValue = "mid"; Constants.touchEndEvent = "touchend"; Constants.mouseDownEvent = "mousedown"; Constants.mouseUpEvent = "mouseup"; Constants.mouseMoveEvent = "mousemove"; Constants.touchStartEvent = "touchstart"; Constants.touchMoveEvent = "touchmove"; Constants.mouseLeaveEvent = "mouseleave"; Constants.mouseOutEvent = "mouseout"; Constants.touchCancelEvent = "touchcancel"; Constants.resizeEvent = "resize"; Constants.visibilityChangeEvent = "visibilitychange"; Constants.noPolygonDataLoaded = "No polygon data loaded."; Constants.noPolygonFound = "No polygon found, you need to specify SVG url in config.";