[Vuejs]-How can I insert or update a js-timestamp component after the page has loaded?

0👍

As it turns out, I can just define a variable in the JavaScript associated with the page and set the js-timestamp :at attribute to the variable name instead of an integer literal. Then when the variable updates, so does the page.

Instead of this:

<js-timestamp :at="1573487792252">

I now use this:

<js-timestamp :at="model.updatedAt">

Leave a comment