Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TabProperties

import type { TabProperties } from "https://googleapis.deno.dev/v1/docs:v1.ts";

Properties of a tab.

interface TabProperties {
iconEmoji?: string;
index?: number;
nestingLevel?: number;
parentTabId?: string;
tabId?: string;
title?: string;
}

§Properties

§
iconEmoji?: string
[src]

Optional. The emoji icon displayed with the tab. A valid emoji icon is represented by a non-empty Unicode string. Any set of characters that don't represent a single emoji is invalid. If an emoji is invalid, a 400 bad request error is returned. If this value is unset or empty, the tab will display the default tab icon.

§
index?: number
[src]

The zero-based index of the tab within the parent.

§
nestingLevel?: number
[src]

Output only. The depth of the tab within the document. Root-level tabs start at 0.

§
parentTabId?: string
[src]

Optional. The ID of the parent tab. Empty when the current tab is a root-level tab, which means it doesn't have any parents.

§
tabId?: string
[src]

Output only. The ID of the tab. This field can't be changed.

§
title?: string
[src]

The user-visible name of the tab.