Closed lamplightdev closed 7 years ago
Thanks for feedback @lamplightdev. Definitely doable and useful. I will add it in the next release.
@lamplightdev @vpusher you can add an observer on the databinding on the property and do whatever you want to do there
@yorrd @vpusher thanks for the tip. I'm using polymer-redux however using only one-way data binding so an observer wouldn't work in this case without adding some extra properties to track the tile properties and observing them to then update my redux state which I'd rather avoid
@lamplightdev are the following events enough for you:
resize
(once the tile gripper is released ~touchend/mouseup
)move
(once the tile is released ~touchend/mouseup
)
?
with the updated tile in the event detail@vpusher yes, those would be ideal, thanks!
Hi,
I want to do something (e.g. persist the current grid layout) after a tile has been moved/resized. Is there a way to do this currently, or would the element need to be updated to fire an event on tile changes, which a containing element could then listen for?
Thanks, Chris.