shared/ipc/newtab-contracts
Variables
Section titled “Variables”GetNewTabState
Section titled “GetNewTabState”
constGetNewTabState:RequestContract<{ }, {engine:string|null; }>
Defined in: app/src/shared/ipc/newtab-contracts.ts:5
What the new tab page shows: the name of the search engine, null for a custom one.
NavigateFromNewTab
Section titled “NavigateFromNewTab”
constNavigateFromNewTab:RequestContract<{input:string; },null>
Defined in: app/src/shared/ipc/newtab-contracts.ts:13
Searches for, or opens, what the user typed on the new tab page, in the same tab.