CustomStateSet: clear() method

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("Web Components")}}

The **clear()** method of the {{domxref("CustomStateSet")}} interface removes all elements from the CustomStateSet object.

Syntax

js-nolint
clear()

Parameters

None.

Return value

Undefined.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}