remove()
BProgress.remove() method
The remove() method removes one or all .bprogress elements from the DOM.
Usage
Typing
Parameters
| Name | Type | Description |
|---|---|---|
| progressElement | HTMLElement | If provided, removes or hides only that element. Otherwise removes all. |
If template === null, the element(s) are hidden (via display: none) instead of being fully removed.