Possible to access LastMofiied in Web-plugin?

  • 28 September 2021
  • 1 reply

Hi there,

the following code works great for me.

wis = await miro.board.selection.get()
text = wis[0].plainText

Now I would like to get the dates when the widget (sticker) was created and which date it has been last modified.

I can’t find the correct documentation on this topic. Can someone help me?

Kind regards


1 reply

Userlevel 5
Badge +1



You are right, as of today, it is not possible to retrieve this information with the Web SDK. It is something we are planning to update in the future. I cannot think about an easy way of doing this. To know when a widget has been created you could use the even WIDGETS_CREATED and store the date but we do not offer an event for WIDGETS_UPDATED yet. WIDGETS_TRANSFORMATION_UPDATED will be raised only when the geometry of a widget changes, not the text.