We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 353808b commit ec13c42Copy full SHA for ec13c42
components/MultiDrawer.vue
@@ -29,7 +29,7 @@
29
</template>
30
31
<script>
32
- import * as utils from 'tns-core-modules/utils/utils'
+ import {Utils} from "@nativescript/core"
33
import mergeOptions from 'merge-options'
34
import {defaultOptions} from "../index";
35
@@ -236,7 +236,7 @@
236
const view = this.$refs[`${side}Drawer`][0].nativeView
237
this.sides[side].translationOffset =
238
this.optionsInternal[side].translationOffsetMultiplier *
239
- utils.layout.toDeviceIndependentPixels(
+ Utils.layout.toDeviceIndependentPixels(
240
this.optionsInternal[side].axis === 'X'
241
? view.getMeasuredWidth()
242
: view.getMeasuredHeight()
0 commit comments