@kizmann/nano-ui 0.8.11 → 0.8.12
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -190,8 +190,10 @@ export default {
|
|
190
190
|
|
191
191
|
onScrollTo(x = 0, y = 0)
|
192
192
|
{
|
193
|
-
this.$refs.content
|
194
|
-
|
193
|
+
if ( this.$refs.content ) {
|
194
|
+
this.$refs.content.scrollTop = y;
|
195
|
+
this.$refs.content.scrollLeft = x;
|
196
|
+
}
|
195
197
|
},
|
196
198
|
|
197
199
|
scrollIntoView(selector, delay = 0)
|