drag-resize

WebJar for drag-resize

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.jifalops
ArtifactId

ArtifactId

drag-resize
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

drag-resize
WebJar for drag-resize
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jifalops/drag-resize

Download drag-resize

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/drag-resize/ -->
<dependency>
    <groupId>org.webjars.bowergithub.jifalops</groupId>
    <artifactId>drag-resize</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/drag-resize/
implementation 'org.webjars.bowergithub.jifalops:drag-resize:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jifalops/drag-resize/
implementation ("org.webjars.bowergithub.jifalops:drag-resize:1.0.1")
'org.webjars.bowergithub.jifalops:drag-resize:jar:1.0.1'
<dependency org="org.webjars.bowergithub.jifalops" name="drag-resize" rev="1.0.1">
  <artifact name="drag-resize" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.jifalops', module='drag-resize', version='1.0.1')
)
libraryDependencies += "org.webjars.bowergithub.jifalops" % "drag-resize" % "1.0.1"
[org.webjars.bowergithub.jifalops/drag-resize "1.0.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar #^2.0.0
org.webjars.bowergithub.polymerelements : iron-flex-layout jar #^2.0.0
org.webjars.bowergithub.webcomponents : shadycss jar #^1.0.0

Project Modules

There are no modules declared in this project.

Published on Vaadin  Directory Stars on vaadin.com/directory Published on webcomponents.org

drag-resize

A touch friendly draggable and/or resizable container.

Installation

bower i -S jifalops/drag-resize      # Polymer 2.0 class based
bower i -S jifalops/drag-resize#^0.2 # Polymer 2.0 hybrid (1.x compatible)

Usage

  • Set which directions are draggable and which edges are resizable. All possibilities are enabled by default.
  • Optional: set edge/corner borders, mouse cursors, corner gradient color.
  • Optional: listen for on-resize or on-drag events.

Demo

<drag-resize drag="left right" resize="bottom right">
  <div style="height:100px; width:100px; background-color:lightblue;"></div>
</drag-resize>

Full demo: webcomponents.org | github.

API: webcomponents.org

Contributing

  1. Fork it on Github.
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request

License

MIT

Versions

Version
1.0.1