Tutorial: frame.getInfo

frame.getInfo

Returns frame info object that represents the referenced frame.

Example

const currFrame = fin.desktop.Frame.getCurrent();

currFrame.getInfo(info => {
    console.log(info); // see return value below
}, (err) => console.log(err));

// example info shape
{
    "uuid": "OpenfinPOC",
    "name": "9cc90f0e-5393-4f30-bc5e-0768078b0403",
    "parent": {
        "uuid": "OpenfinPOC",
        "name": "OpenfinPOC"
    },
    "entityType": "iframe"
}