drag-resize
A touch friendly resizable container with resize events.
[ This description is mirrored from README.md at github.com/jifalops/drag-resize on 2019-05-10 ]
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
oron-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
- Fork it on Github.
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
Dependencies
- polymer##^2.0.0
- iron-flex-layout##^2.0.0
- shadycss##^1.0.0
- Released
- 2017-08-22
- Maturity
- IMPORTED
- License
- MIT License
Compatibility
- Framework
- Polymer 2.0+
- Browser
- Browser Independent
Enhanced DatePicker - Vaadin Add-on Directory
DatePicker with ability to format by patternView on GitHub
Enhanced DatePicker version 1.0.0
Enhanced DatePicker version 1.0.1
Added ability to use formatting by pattern with together with locale.
NOTE: Localisation is done by JS library DateFns. In case some localisations not working, please check documentation for DateFns(https://date-fns.org/v2.0.0-beta.2/docs/Getting-Started)
Enhanced DatePicker version 1.1.0
### Version 1.1.0
- Added support for multiple input formats
Enhanced DatePicker version 1.2.0
### Version 1.2.0
- Added missing setAutoOpen()
- Fixed issues with using Vaadin 14.3.x
Enhanced DatePicker version 1.3.0
### Version 1.3.0
- Cherry picked rest of the Vaadin 14.3 new features and fixes
- Fixed issue #262
Enhanced DatePicker version 1.3.1
### Version 1.3.1
- Add workaround for issue https://github.com/vaadin/vaadin-date-picker-flow/issues/223
- Moved disableClientValidation() to separate API
Enhanced DatePicker version 1.3.2
### Version 1.3.2
- Changed license to Apache2
Enhanced DatePicker version 1.4.0
### Version 1.4.0
- Added setPrefixComponent
- Applied the fix https://github.com/vaadin/vaadin-flow-components/pull/512
Enhanced DatePicker version 1.5.0
Fix pattern and Locale handling
Enhanced DatePicker version 2.0.0
Enables component to work with V18+ and introducing HasHelper
Enhanced DatePicker version 1.6.0
Fix compatibility issue with Vaadin 14.11+