Skip to content

feat: support for changing height or width only#674

Open
HunterXing wants to merge 2 commits intojbaysolutions:masterfrom
HunterXing:master
Open

feat: support for changing height or width only#674
HunterXing wants to merge 2 commits intojbaysolutions:masterfrom
HunterXing:master

Conversation

@HunterXing
Copy link
Copy Markdown

feat

Add 'isHorizontalResize' and 'isHorizontalResize' attributes to support changing height and width only.
The premise is static is false.

usage

<grid-item class="vue-grid-placeholder"
                   :x="x"
                   :y="y"
                   :w="w"
                   :h="h"
                   :i="i"
                   :is-horizontal-resize="true"
                   :is-vertical-resize="true"
                   >
</grid-item>

result

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant