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
text-toggle - Vaadin Add-on Directory
Show one of two strings based on a condition. Clickability optional.2. Using element as control.
3. As an HTML anchor.
4. Chaging an outside condition.
``` Full demo: [webcomponents.org](https://www.webcomponents.org/element/jifalops/text-toggle/demo/demo/index.html) | [github](https://jifalops.github.io/text-toggle/components/text-toggle/demo/). API: [webcomponents.org](https://www.webcomponents.org/element/jifalops/text-toggle/text-toggle) | [github](https://jifalops.github.io/text-toggle). ## 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](https://opensource.org/licenses/MIT)
Issue tracker
Documentation
Online Demo
View on GitHub
text-toggle version 0.1.0
### Dependencies
* polymer#Polymer/polymer#^2.0.0
text-toggle version 0.2.0
### Dependencies
* polymer#Polymer/polymer#^2.0.0
text-toggle version 0.2.1
### Dependencies
* polymer#Polymer/polymer#^2.0.0
text-toggle version 0.2.2
### Dependencies
* polymer#Polymer/polymer#^2.0.0