/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/3p-frame.d.ts
16 строк
542 B
Jake Fried
typecheck: src/preact/components (#37463)
04 фев 2022, 23:59
Не верифицирован
04 фев 2022, 23:59
2004c91
Код
Авторство
О чём код?
/** * Returns a randomized sentinel value for 3p iframes. * The format is "%d-%d" with the first value being the depth of current * window in the window hierarchy and the second a random integer. */ export const generateSentinel: (win: Window) => string; /** Returns the base URL for 3p bootstrap iframes. */ export const getDefaultBootstrapBaseUrl: ( parentWin: Window, ampdoc?: any, strictForUnitTest?: boolean ) => string; /** Get the bootstrap script URL for iframe. */ export const getBootstrapUrl: (type: string) => string;