/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/utils/close-watcher.extern.js
21 строка
483 B
erwin mombay
Fix: Rename CloseWatcher.signalClose to CloseWatched.requestClose (#40213)
07 янв 2025, 23:51
Не верифицирован
07 янв 2025, 23:51
37ffbde
Код
Авторство
О чём код?
/** * @fileoverview Externs for CloseWatcher class. * See https://github.com/WICG/close-watcher. * * TODO(dvoytenko): remove CloseWatcher once it's added in Closure externs. * * @externs */ /** @constructor */ function CloseWatcher() {} CloseWatcher.prototype.destroy = function () {}; CloseWatcher.prototype.requestClose = function () {}; /** @type {?function(!Event)} */ CloseWatcher.prototype.onclose; /** @type {?function(!Event)} */ CloseWatcher.prototype.oncancel;