@wildebeest/scroll
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -29,3 +29,3 @@ "use strict"; | ||
var scrollBarElement = this.domService.create(this.template); | ||
this.domService.insert(scrollMark.getElement(), scrollBarElement); | ||
this.domService.insert([scrollMark.getElement()], scrollBarElement); | ||
if (!data.emitter) { | ||
@@ -32,0 +32,0 @@ data.emitter = this.emitterService.createEmitter(); |
@@ -42,3 +42,3 @@ "use strict"; | ||
}); | ||
this.domService.insert(this.scrollBar.getElement(), this.element); | ||
this.domService.insert([this.scrollBar.getElement()], this.element); | ||
var scrollMark = this.getBar().getMark(); | ||
@@ -45,0 +45,0 @@ scrollMark.getEmitter().on('wbDrag', function (event) { |
{ | ||
"name": "@wildebeest/scroll", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Scroll element with custom scroll bar", | ||
@@ -20,7 +20,7 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@wildebeest/common": "^0.2.0", | ||
"@wildebeest/common": "^0.2.2", | ||
"@wildebeest/component": "^0.1.0", | ||
"@wildebeest/drag": "^0.3.0", | ||
"@wildebeest/js-modules": "^0.1.0", | ||
"@wildebeest/touch": "^0.3.0", | ||
"@wildebeest/component": "^0.1.0" | ||
"@wildebeest/touch": "^0.3.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
@@ -28,3 +28,3 @@ import { EmitterService, DomService } from "@wildebeest/common"; | ||
let scrollBarElement = this.domService.create(this.template); | ||
this.domService.insert(scrollMark.getElement(), scrollBarElement); | ||
this.domService.insert([scrollMark.getElement()], scrollBarElement); | ||
if (!data.emitter) { | ||
@@ -31,0 +31,0 @@ data.emitter = this.emitterService.createEmitter(); |
@@ -46,3 +46,3 @@ import { DomService, EmitterService, Emitter } from "@wildebeest/common"; | ||
}) as ScrollBar; | ||
this.domService.insert(this.scrollBar.getElement(), this.element); | ||
this.domService.insert([this.scrollBar.getElement()], this.element); | ||
@@ -49,0 +49,0 @@ let scrollMark: ScrollMark = this.getBar().getMark(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51072
Updated@wildebeest/common@^0.2.2