Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixing error message on Android build#4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
wpatter6 wants to merge1 commit intonativescript-vue:master
base:master
Choose a base branch
Loading
fromwpatter6:master
Open
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletionscomponents/MultiDrawer.vue
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,19 +17,21 @@
@tap="noop"
@pan="onDrawerPan(side, $event)"
:ref="`${side}Drawer`"
:style="computedDrawerStyle(side)">
:style="computedDrawerStyle(side)"
:key="'grid_'+side">
<slot :name="side"/>
</GridLayout>
<!-- Open Trigger -->
<Label v-show="computedShowSwipeOpenTrigger(side)"
v-bind="computedSwipeOpenTriggerProperties(side)"
@pan="onOpenTriggerPan(side, $event)"/>
@pan="onOpenTriggerPan(side, $event)"
:key="'label_'+side"/>
</template>
</GridLayout>
</template>

<script>
import* as utils from 'tns-core-modules/utils/utils'
import{layout} from 'tns-core-modules/utils/utils'
import mergeOptions from 'merge-options'
import {defaultOptions} from "../index";

Expand DownExpand Up@@ -236,7 +238,7 @@
const view = this.$refs[`${side}Drawer`][0].nativeView
this.sides[side].translationOffset =
this.optionsInternal[side].translationOffsetMultiplier *
utils.layout.toDeviceIndependentPixels(
layout.toDeviceIndependentPixels(
this.optionsInternal[side].axis === 'X'
? view.getMeasuredWidth()
: view.getMeasuredHeight()
Expand Down
2 changes: 1 addition & 1 deletionpackage.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-vue-multi-drawer",
"version": "0.0.2",
"version": "0.0.3",
"description": "A NativeScript-Vue component for creating multiple side drawers",
"main": "index.js",
"files": [
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp