Identify changes in Miro Widget

  • 30 November 2020
  • 1 reply
  • 204 views

Hello,

We would like to identify when an widgets(text/image) is updated and based on that we want to perform some actions. Currently there is no event type to indicate if the widget is being updated (We are not interested in WIDGETS_TRANSFORMATION_UPDATED which fires the position/size changes)

Supported EventType: "SELECTION_UPDATED" | "WIDGETS_CREATED" | "WIDGETS_DELETED" | "WIDGETS_TRANSFORMATION_UPDATED" | "ESC_PRESSED" | "ALL_WIDGETS_LOADED" | "COMMENT_CREATED" | "CANVAS_CLICKED" | "DATA_BROADCASTED" | "RUNTIME_STATE_UPDATED" | "METADATA_CHANGED" | "ONLINE_USERS_CHANGED"

As a workaround we thought we could use the SELECTION_UPDATED event to trigger the action after widget updated but then there is no modified timestamp against the widget to detect if any changes happened. 

Is there any workaround or hack to approach this problem?


1 reply

Badge

Have a similar case on my end as well. Wondering if it’s possible to listen to a sticker or textbox content updates, so I can update a database with the new widget contents.

Reply