HTMLIFrameElement: privateToken property - Web APIs | MDN

Value

A string.

Examples

html

<iframe id="el" privateToken="{version: 1,operation: 'token-request'}">
</iframe>

js

const el = document.getElementById("el");
console.log(el.privateToken);
// Logs "{version: 1,operation: 'token-request'}"

Specifications

Specification
Private State Token API
# dom-htmliframeelement-privatetoken

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.