TaskAttributionTiming: containerId property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The containerId read-only property of the TaskAttributionTiming interface returns the container's id
attribute. A container is the iframe, embed or object etc. that is being implicated, on the whole, for a long task.
Value
A string containing the container's id HTML content attribute.
Specifications
| Specification |
|---|
| Long Tasks API # dom-taskattributiontiming-containerid |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
containerId
|
|
|
|
|
|
|
|
|
|
|
|
|
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.