HTML DOM İlerleme Nesnesi
İlerleme Nesnesi
Progress nesnesi, bir HTML <progress> öğesini temsil eder.
<progress> öğesi, bir görevin ilerlemesini temsil eder.
Bir İlerleme Nesnesine Erişme
Bir <progress> öğesine getElementById() kullanarak erişebilirsiniz:
Örnek
var x = document.getElementById("myProgress");
Bir İlerleme Nesnesi Oluşturun
Document.createElement() yöntemini kullanarak bir <progress> öğesi oluşturabilirsiniz:
Örnek
var x = document.createElement("PROGRESS");
İlerleme Nesnesi Özellikleri
Property | Description |
---|---|
labels | Returns a list of the progress bar's labels (if any) |
max | Sets or returns the value of the max attribute of a progress bar |
position | Returns the current position of the progress bar |
value | Sets or returns the value of the value attribute of a progress bar |
Standart Özellikler ve Etkinlikler
Progress nesnesi ayrıca standart özellikleri ve olayları da destekler .
İlgili Sayfalar
HTML referansı: HTML <progress> etiketi