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
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ Kita sudah memiliki elemen `<time-formatted>` untuk menunjukkan waktu yang difor
5
5
6
6
Buat elemen `<live-timer>` untuk menunjukkan waktu saat ini:
7
7
1.`<live-timer>` harus menggunakan `<time-formatted>` secara internal, bukan menduplikasi fungsinya.
8
-
2.*Tick* (update) setiap detik.
9
-
3. Untuk setiap *tick*, sebuah *events* kustom bernama `tick` harus dibuat, dengan tanggal saat ini di `event.detail` (lihat bab <info: dispatch-events>).
8
+
2.Berdetak (update) setiap detik.
9
+
3. Untuk setiap detik, sebuah *events* kustom bernama `tick` harus dibuat, dengan tanggal saat ini di `event.detail` (lihat bab <info: dispatch-events>).
0 commit comments