Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit cbb63eb

Browse files
committed
Update properties to document lastUpdated
1 parent 46dd52f commit cbb63eb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

google-codelab.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686

8787
<template is="dom-if" if="{{lastUpdated}}" strip-whitespace>
8888
<div id="last-updated">
89-
Last updated on <span>{{lastUpdated}}</span>
89+
Last updated on {{lastUpdated}}.
9090
</div>
9191
</template>
9292

@@ -237,6 +237,15 @@ <h2>Would you like to resume where you left off?</h2>
237237
readOnly: true
238238
},
239239

240+
/**
241+
* Last date the codelab was updated, in YYYY-MM-DD format.
242+
*/
243+
lastUpdated: {
244+
type: String,
245+
value: '',
246+
readOnly: true
247+
},
248+
240249
/**
241250
* Step elements of the codelab. Currently, only `<google-codelab-step>`
242251
* elements are supported.

0 commit comments

Comments
 (0)