Compare commits

..

4 Commits

Author SHA1 Message Date
45fecfbde8 1.0.32 2020-06-28 16:59:15 +00:00
e3e6d06969 fix(core): update 2020-06-28 16:59:14 +00:00
50ace4c236 1.0.31 2020-06-28 16:42:31 +00:00
90f68965bb fix(core): update 2020-06-28 16:42:30 +00:00
4 changed files with 7 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@designestate/dees-domtools", "name": "@designestate/dees-domtools",
"version": "1.0.30", "version": "1.0.32",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@designestate/dees-domtools", "name": "@designestate/dees-domtools",
"version": "1.0.30", "version": "1.0.32",
"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",

View File

@ -57,6 +57,8 @@ export class DomTools {
debug: false, debug: false,
}); });
public scroller: plugins.SweetScroll;
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();
@ -72,7 +74,7 @@ export class DomTools {
constructor() { constructor() {
// lets care about third party stuff // lets care about third party stuff
this.domToolsReady.promise.then(() => { this.domToolsReady.promise.then(() => {
const scroller = new plugins.sweetscroll({ this.scroller = new plugins.SweetScroll({
/* some options */ /* some options */
}); });
}); });

View File

@ -8,6 +8,6 @@ import * as websetup from '@pushrocks/websetup';
export { smartpromise, smartrouter, smartstate, webrequest, websetup }; export { smartpromise, smartrouter, smartstate, webrequest, websetup };
// third party scope // third party scope
import sweetscroll from 'sweet-scroll'; import SweetScroll from 'sweet-scroll';
export { sweetscroll }; export { SweetScroll };