Limited availability
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The delete()
method of the XRAnchor
interface removes an anchor. This can be useful when an application is no longer interested in receiving updates to an anchor.
None.
Return valueNone (undefined
).
let anchorsCollection = new Set();
// Upon creating anchors, add them to the Set
// anchorsCollection.add(anchor);
for (const anchor of anchorsCollection) {
anchor.delete();
}
anchorsCollection.clear();
Specifications Browser compatibility
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4