Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
5975ca7320 | |||
97583c650d | |||
f5fd0662d3 | |||
14c91ed81f | |||
1aabacdf87 | |||
1747afe04a | |||
a1bd7f74a7 | |||
6ff89390b7 | |||
2ad8d0a9fd | |||
ae01670361 | |||
5657b0be1d | |||
781ae3c3b1 | |||
da79e623cc | |||
3ca6b5e34e | |||
98f0bc013d | |||
d32a544de2 | |||
070221d6c9 | |||
19714854ba | |||
50ebea1b5f | |||
df0527f3c1 | |||
b620b7393e | |||
ab5b9511fd | |||
da86e64056 | |||
effc331a67 | |||
fa24708a47 | |||
31126e30eb | |||
ef0a4eae80 | |||
e711302c28 |
22810
package-lock.json
generated
22810
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
24
package.json
24
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@designestate/dees-domtools",
|
"name": "@designestate/dees-domtools",
|
||||||
"version": "1.0.87",
|
"version": "1.0.101",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "tools to simplify complex css structures",
|
"description": "tools to simplify complex css structures",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -13,27 +13,27 @@
|
|||||||
"format": "(gitzone format)"
|
"format": "(gitzone format)"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.25",
|
"@gitzone/tsbuild": "^2.1.28",
|
||||||
"@gitzone/tsbundle": "^1.0.80",
|
"@gitzone/tsbundle": "^1.0.88",
|
||||||
"@gitzone/tstest": "^1.0.52",
|
"@gitzone/tstest": "^1.0.60",
|
||||||
"@pushrocks/tapbundle": "^3.2.14",
|
"@pushrocks/tapbundle": "^3.2.14",
|
||||||
"@types/node": "^14.14.33",
|
"@types/node": "^16.11.9",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"tslint-config-prettier": "^1.15.0"
|
"tslint-config-prettier": "^1.15.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apiglobal/typedrequest": "^1.0.56",
|
"@apiglobal/typedrequest": "^1.0.65",
|
||||||
"@designestate/dees-comms": "^1.0.9",
|
"@designestate/dees-comms": "^1.0.11",
|
||||||
"@pushrocks/lik": "^4.0.20",
|
"@pushrocks/lik": "^5.0.0",
|
||||||
"@pushrocks/smartdelay": "^2.0.10",
|
"@pushrocks/smartdelay": "^2.0.13",
|
||||||
"@pushrocks/smartpromise": "^3.1.3",
|
"@pushrocks/smartpromise": "^3.1.6",
|
||||||
"@pushrocks/smartrouter": "^1.0.7",
|
"@pushrocks/smartrouter": "^1.0.11",
|
||||||
"@pushrocks/smartrx": "^2.0.19",
|
"@pushrocks/smartrx": "^2.0.19",
|
||||||
"@pushrocks/smartstate": "^1.0.21",
|
"@pushrocks/smartstate": "^1.0.21",
|
||||||
"@pushrocks/webrequest": "^2.0.13",
|
"@pushrocks/webrequest": "^2.0.13",
|
||||||
"@pushrocks/websetup": "^3.0.15",
|
"@pushrocks/websetup": "^3.0.15",
|
||||||
"@pushrocks/webstore": "^1.0.16",
|
"@pushrocks/webstore": "^1.0.16",
|
||||||
"lit-element": "^2.4.0",
|
"lit": "^2.0.2",
|
||||||
"sweet-scroll": "^4.0.0"
|
"sweet-scroll": "^4.0.0"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
@ -1,71 +0,0 @@
|
|||||||
import { DomTools } from './domtools.classes.domtools';
|
|
||||||
|
|
||||||
export const desktop = 1240;
|
|
||||||
export const tablet = 1024;
|
|
||||||
export const phablet = 600;
|
|
||||||
export const phone = 400;
|
|
||||||
|
|
||||||
export type TViewport = 'native' | 'desktop' | 'tablet' | 'phablet' | 'phone';
|
|
||||||
|
|
||||||
export const getEnvironment = (): TViewport => {
|
|
||||||
if (
|
|
||||||
globalThis.deesDomTools &&
|
|
||||||
globalThis.deesDomTools.domToolsStatePart.getState().virtualViewport
|
|
||||||
) {
|
|
||||||
return globalThis.deesDomTools.domToolsStatePart.getState().virtualViewport;
|
|
||||||
} else {
|
|
||||||
return 'native';
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export const cssForTablet = (contentArg) => {
|
|
||||||
if (getEnvironment() === 'native' || getEnvironment() === 'desktop') {
|
|
||||||
return `
|
|
||||||
@media (max-width: ${tablet}px) {
|
|
||||||
${contentArg}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
} else if (
|
|
||||||
getEnvironment() === 'tablet' ||
|
|
||||||
getEnvironment() === 'phablet' ||
|
|
||||||
getEnvironment() === 'phone'
|
|
||||||
) {
|
|
||||||
return `
|
|
||||||
@media (min-width: 0px) {
|
|
||||||
${contentArg}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export const cssForPhablet = (contentArg) => {
|
|
||||||
if (getEnvironment() === 'native' || getEnvironment() === 'desktop') {
|
|
||||||
return `
|
|
||||||
@media (max-width: ${phablet}px) {
|
|
||||||
${contentArg}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
} else if (getEnvironment() === 'phablet' || getEnvironment() === 'phone') {
|
|
||||||
return `
|
|
||||||
@media (min-width: 0px) {
|
|
||||||
${contentArg}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export const cssForPhone = (contentArg) => {
|
|
||||||
if (getEnvironment() === 'native' || getEnvironment() === 'desktop') {
|
|
||||||
return `
|
|
||||||
@media (max-width: ${phone}px) {
|
|
||||||
${contentArg}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
} else if (getEnvironment() === 'phone') {
|
|
||||||
return `
|
|
||||||
@media (min-width: 0px) {
|
|
||||||
${contentArg}
|
|
||||||
}
|
|
||||||
`;
|
|
||||||
}
|
|
||||||
};
|
|
@ -1,10 +1,9 @@
|
|||||||
import * as plugins from './domtools.plugins';
|
import * as plugins from './domtools.plugins';
|
||||||
import { Stringmap } from '@pushrocks/lik/dist_ts/lik.stringmap';
|
import { Stringmap } from '@pushrocks/lik/dist_ts/lik.stringmap';
|
||||||
import { FastMap } from '@pushrocks/lik/dist_ts/lik.fastmap';
|
import { FastMap } from '@pushrocks/lik/dist_ts/lik.fastmap';
|
||||||
import { TViewport } from './domtools.breakpoints';
|
import { TViewport } from './domtools.css.breakpoints';
|
||||||
|
|
||||||
import { Scroller } from './domtools.classes.scroller';
|
import { Scroller } from './domtools.classes.scroller';
|
||||||
import { delayForRandom } from '@pushrocks/smartdelay';
|
|
||||||
import { WebSetup } from '@pushrocks/websetup';
|
import { WebSetup } from '@pushrocks/websetup';
|
||||||
import { ThemeManager } from './domtools.classes.thememanager';
|
import { ThemeManager } from './domtools.classes.thememanager';
|
||||||
|
|
||||||
@ -81,6 +80,7 @@ export class DomTools {
|
|||||||
});
|
});
|
||||||
|
|
||||||
public convenience = {
|
public convenience = {
|
||||||
|
typedrequest: plugins.typedrequest,
|
||||||
smartdelay: plugins.smartdelay,
|
smartdelay: plugins.smartdelay,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ export class DomTools {
|
|||||||
}); // TODO: switch to scroller class
|
}); // TODO: switch to scroller class
|
||||||
public themeManager = new ThemeManager(this);
|
public themeManager = new ThemeManager(this);
|
||||||
|
|
||||||
private actionSetVirtualViewport = this.domToolsStatePart.createAction<TViewport>(
|
/* private actionSetVirtualViewport = this.domToolsStatePart.createAction<TViewport>(
|
||||||
async (statePart, payload) => {
|
async (statePart, payload) => {
|
||||||
const currentState = statePart.getState();
|
const currentState = statePart.getState();
|
||||||
currentState.virtualViewport = payload;
|
currentState.virtualViewport = payload;
|
||||||
@ -98,6 +98,10 @@ export class DomTools {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
public setVirtualViewport(environmentArg: TViewport) {
|
||||||
|
this.domToolsStatePart.dispatchAction(this.actionSetVirtualViewport, environmentArg);
|
||||||
|
} */
|
||||||
|
|
||||||
public domToolsReady = plugins.smartpromise.defer();
|
public domToolsReady = plugins.smartpromise.defer();
|
||||||
public domReady = plugins.smartpromise.defer();
|
public domReady = plugins.smartpromise.defer();
|
||||||
public globalStylesReady = plugins.smartpromise.defer();
|
public globalStylesReady = plugins.smartpromise.defer();
|
||||||
@ -106,6 +110,7 @@ export class DomTools {
|
|||||||
|
|
||||||
private runOnceTrackerStringMap = new Stringmap();
|
private runOnceTrackerStringMap = new Stringmap();
|
||||||
private runOnceResultMap = new FastMap();
|
private runOnceResultMap = new FastMap();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* run a function once and always get the Promise of the first execution
|
* run a function once and always get the Promise of the first execution
|
||||||
* @param identifierArg the indentifier arg identifies functions. functions with the same identifier are considered equal
|
* @param identifierArg the indentifier arg identifies functions. functions with the same identifier are considered equal
|
||||||
@ -131,7 +136,10 @@ export class DomTools {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// setStuff
|
// setStuff
|
||||||
|
/**
|
||||||
|
* allows to set global styles
|
||||||
|
* @param stylesText the css text you want to set
|
||||||
|
*/
|
||||||
public async setGlobalStyles(stylesText: string) {
|
public async setGlobalStyles(stylesText: string) {
|
||||||
await this.domReady.promise;
|
await this.domReady.promise;
|
||||||
const styleElement = document.createElement('style');
|
const styleElement = document.createElement('style');
|
||||||
@ -140,6 +148,10 @@ export class DomTools {
|
|||||||
this.elements.headElement.appendChild(styleElement);
|
this.elements.headElement.appendChild(styleElement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* allows setting external css files
|
||||||
|
* @param cssLinkArg a url to an external stylesheet
|
||||||
|
*/
|
||||||
public async setExternalCss(cssLinkArg: string) {
|
public async setExternalCss(cssLinkArg: string) {
|
||||||
const cssTag = document.createElement('link');
|
const cssTag = document.createElement('link');
|
||||||
cssTag.rel = 'stylesheet';
|
cssTag.rel = 'stylesheet';
|
||||||
@ -148,10 +160,10 @@ export class DomTools {
|
|||||||
document.head.append(cssTag);
|
document.head.append(cssTag);
|
||||||
}
|
}
|
||||||
|
|
||||||
public setVirtualViewport(environmentArg: TViewport) {
|
/**
|
||||||
this.domToolsStatePart.dispatchAction(this.actionSetVirtualViewport, environmentArg);
|
* allows setting of website infos
|
||||||
}
|
* @param optionsArg the website info
|
||||||
|
*/
|
||||||
public async setWebsiteInfo(optionsArg: plugins.websetup.IWebSetupConstructorOptions) {
|
public async setWebsiteInfo(optionsArg: plugins.websetup.IWebSetupConstructorOptions) {
|
||||||
await this.websetup.setup(optionsArg);
|
await this.websetup.setup(optionsArg);
|
||||||
await this.websetup.readyPromise;
|
await this.websetup.readyPromise;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import { LitElement } from 'lit-element';
|
|
||||||
import { DomTools } from './domtools.classes.domtools';
|
import { DomTools } from './domtools.classes.domtools';
|
||||||
import * as plugins from './domtools.plugins';
|
import * as plugins from './domtools.plugins';
|
||||||
|
|
||||||
@ -29,16 +28,25 @@ export class ThemeManager {
|
|||||||
this.themeObservable.next(this.goBrightBoolean);
|
this.themeObservable.next(this.goBrightBoolean);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set the theme of the website to bright
|
||||||
|
*/
|
||||||
public goBright() {
|
public goBright() {
|
||||||
this.goBrightBoolean = true;
|
this.goBrightBoolean = true;
|
||||||
this.updateAllConnectedElements();
|
this.updateAllConnectedElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set the theme of the website to dark
|
||||||
|
*/
|
||||||
public goDark() {
|
public goDark() {
|
||||||
this.goBrightBoolean = false;
|
this.goBrightBoolean = false;
|
||||||
this.updateAllConnectedElements();
|
this.updateAllConnectedElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* simply toggle between bright and dark
|
||||||
|
*/
|
||||||
public toggleDarkBright() {
|
public toggleDarkBright() {
|
||||||
this.goBrightBoolean = !this.goBrightBoolean;
|
this.goBrightBoolean = !this.goBrightBoolean;
|
||||||
this.updateAllConnectedElements();
|
this.updateAllConnectedElements();
|
||||||
|
59
ts/domtools.css.basestyles.ts
Normal file
59
ts/domtools.css.basestyles.ts
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
import { DomTools } from './domtools.classes.domtools';
|
||||||
|
|
||||||
|
import { css, unsafeCSS } from 'lit';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* changes scrollbar styles to be consistent across OS borders
|
||||||
|
*/
|
||||||
|
export const scrollBarStyles: string = (() => {
|
||||||
|
const returnStyles =
|
||||||
|
navigator.userAgent.indexOf('Mac OS X') !== -1
|
||||||
|
? css`
|
||||||
|
/* width */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Track */
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: #111;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: #666;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle on hover */
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: #777;
|
||||||
|
}
|
||||||
|
`.cssText
|
||||||
|
: ``;
|
||||||
|
return returnStyles;
|
||||||
|
})();
|
||||||
|
|
||||||
|
export const globalBaseStyles: string = css`
|
||||||
|
/* global material font */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Material Icons';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url(https://fonts.gstatic.com/s/materialicons/v42/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2)
|
||||||
|
format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Roboto Font */
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400');
|
||||||
|
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;300;400');
|
||||||
|
|
||||||
|
/* global body styles */
|
||||||
|
body {
|
||||||
|
margin: 0px;
|
||||||
|
font-family: 'Roboto', sans-serif;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* scroll bar styles */
|
||||||
|
${unsafeCSS(scrollBarStyles)}
|
||||||
|
`.cssText;
|
43
ts/domtools.css.breakpoints.ts
Normal file
43
ts/domtools.css.breakpoints.ts
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
import { DomTools } from './domtools.classes.domtools';
|
||||||
|
|
||||||
|
import { CSSResult, unsafeCSS } from 'lit';
|
||||||
|
|
||||||
|
export const desktop = 1240;
|
||||||
|
export const tablet = 1024;
|
||||||
|
export const phablet = 600;
|
||||||
|
export const phone = 400;
|
||||||
|
|
||||||
|
export type TViewport = 'native' | 'desktop' | 'tablet' | 'phablet' | 'phone';
|
||||||
|
|
||||||
|
export const cssForTablet = (cssArg: CSSResult) => {
|
||||||
|
return unsafeCSS(`
|
||||||
|
@container wccToolsViewport (min-width: ${tablet}px) {
|
||||||
|
${cssArg.cssText}
|
||||||
|
}
|
||||||
|
@media (min-width: ${tablet}px) {
|
||||||
|
${cssArg.cssText}
|
||||||
|
}
|
||||||
|
`);
|
||||||
|
};
|
||||||
|
|
||||||
|
export const cssForPhablet = (cssArg: CSSResult) => {
|
||||||
|
return unsafeCSS(`
|
||||||
|
@container wccToolsViewport (min-width: ${phablet}px) {
|
||||||
|
${cssArg.cssText}
|
||||||
|
}
|
||||||
|
@media (min-width: ${phablet}px) {
|
||||||
|
${cssArg.cssText}
|
||||||
|
}
|
||||||
|
`);
|
||||||
|
};
|
||||||
|
|
||||||
|
export const cssForPhone = (cssArg: CSSResult) => {
|
||||||
|
return unsafeCSS(`
|
||||||
|
@container wccToolsViewport (min-width: ${phone}px) {
|
||||||
|
${cssArg.cssText}
|
||||||
|
}
|
||||||
|
@media (min-width: ${phone}px) {
|
||||||
|
${cssArg.cssText}
|
||||||
|
}
|
||||||
|
`);
|
||||||
|
};
|
@ -1,31 +0,0 @@
|
|||||||
import { DomTools } from './domtools.classes.domtools';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* changes scrollbar styles to be consistent across OS borders
|
|
||||||
*/
|
|
||||||
export const scrollBarStyles = (() => {
|
|
||||||
const returnStyles =
|
|
||||||
navigator.userAgent.indexOf('Windows') !== -1
|
|
||||||
? `
|
|
||||||
/* width */
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Track */
|
|
||||||
::-webkit-scrollbar-track {
|
|
||||||
background: #111;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handle */
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
background: #666;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Handle on hover */
|
|
||||||
::-webkit-scrollbar-thumb:hover {
|
|
||||||
background: #777;
|
|
||||||
}
|
|
||||||
`
|
|
||||||
: ``;
|
|
||||||
})();
|
|
@ -1,8 +1,8 @@
|
|||||||
import * as plugins from './domtools.plugins';
|
import * as plugins from './domtools.plugins';
|
||||||
import { DomTools } from './domtools.classes.domtools';
|
import { DomTools } from './domtools.classes.domtools';
|
||||||
import { scrollBarStyles } from './domtools.css.theme';
|
import { scrollBarStyles, globalBaseStyles } from './domtools.css.basestyles';
|
||||||
|
|
||||||
import { html, LitElement, css, unsafeCSS } from 'lit-element';
|
import { html, LitElement, css, unsafeCSS } from 'lit';
|
||||||
|
|
||||||
export const staticStyles = css`
|
export const staticStyles = css`
|
||||||
* {
|
* {
|
||||||
@ -49,34 +49,7 @@ export const setup = async (elementArg?: LitElement): Promise<DomTools> => {
|
|||||||
|
|
||||||
domTools.runOnce('elementBasicSetup', async () => {
|
domTools.runOnce('elementBasicSetup', async () => {
|
||||||
// bodyStyles
|
// bodyStyles
|
||||||
domTools.setGlobalStyles(`
|
domTools.setGlobalStyles(globalBaseStyles);
|
||||||
body {
|
|
||||||
margin: 0px;
|
|
||||||
font-family: 'Roboto', sans-serif;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
`);
|
|
||||||
|
|
||||||
// material font
|
|
||||||
domTools.setGlobalStyles(`
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Material Icons';
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 400;
|
|
||||||
src: url(https://fonts.gstatic.com/s/materialicons/v42/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');
|
|
||||||
}
|
|
||||||
`);
|
|
||||||
|
|
||||||
// Roboto Font
|
|
||||||
domTools.setGlobalStyles(`
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400');
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;300;400');
|
|
||||||
`);
|
|
||||||
|
|
||||||
// scrollbars
|
|
||||||
domTools.setGlobalStyles(`
|
|
||||||
${scrollBarStyles}
|
|
||||||
`);
|
|
||||||
});
|
});
|
||||||
return domTools;
|
return domTools;
|
||||||
};
|
};
|
||||||
|
@ -1,16 +1,20 @@
|
|||||||
export * from './domtools.colors';
|
export * from './domtools.colors';
|
||||||
|
|
||||||
import * as elementBasic from './domtools.elementbasic';
|
import * as elementBasic from './domtools.elementbasic';
|
||||||
import * as breakpoints from './domtools.breakpoints';
|
import * as breakpoints from './domtools.css.breakpoints';
|
||||||
import * as css from './domtools.css';
|
import * as css from './domtools.css';
|
||||||
|
|
||||||
export { css, breakpoints, elementBasic };
|
export { css, breakpoints, elementBasic };
|
||||||
export { DomTools } from './domtools.classes.domtools';
|
export { DomTools } from './domtools.classes.domtools';
|
||||||
export { TypedRequest } from '@apiglobal/typedrequest';
|
export { TypedRequest } from '@apiglobal/typedrequest';
|
||||||
export { IWebSetupConstructorOptions } from '@pushrocks/websetup';
|
export { IWebSetupConstructorOptions } from '@pushrocks/websetup';
|
||||||
|
export { rxjs } from '@pushrocks/smartrx';
|
||||||
|
|
||||||
import * as allPlugins from './domtools.plugins';
|
import * as allPlugins from './domtools.plugins';
|
||||||
|
|
||||||
export const plugins = {
|
export const plugins = {
|
||||||
|
smartdelay: allPlugins.smartdelay,
|
||||||
smartpromise: allPlugins.smartpromise,
|
smartpromise: allPlugins.smartpromise,
|
||||||
|
SweetScroll: allPlugins.SweetScroll,
|
||||||
|
smartstate: allPlugins.smartstate
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user