You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 8-web-components/2-custom-elements/1-live-timer/task.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
2
-
# Elemento reloj vivo
2
+
# Elemento reloj dinámico
3
3
4
4
Ya tenemos un elemento `<time-formatted>` para mostrar la hora agradablemente formateada.
5
5
6
6
Crea el elemento `<live-timer>` para mostrar la hora actual:
7
7
1. Internamente debe usar `<time-formatted>`, no duplicar su funcionalidad.
8
8
2. Aactualiza (¡tic!) cada segundo.
9
-
3. Por cada tic, un evento personalizado llamado `tick` debe ser generado, con la fecha actual en `event.detail` (ver artículo <info:dispatch-events>).
9
+
3. Por cada tic, se debe generar un evento personalizado llamado `tick` con la fecha actual en `event.detail` (ver artículo <info:dispatch-events>).
0 commit comments