From d53bae971e455859229bcb3246e29bcbc85179d2 Mon Sep 17 00:00:00 2001 From: MDN Date: Tue, 8 Mar 2022 00:12:08 +0000 Subject: [CRON] sync translated content --- .../onresourcetimingbufferfull/index.md | 58 ---------------------- files/ja/web/api/window/onappinstalled/index.html | 58 ---------------------- 2 files changed, 116 deletions(-) delete mode 100644 files/ja/web/api/performance/onresourcetimingbufferfull/index.md delete mode 100644 files/ja/web/api/window/onappinstalled/index.html (limited to 'files/ja/web/api') diff --git a/files/ja/web/api/performance/onresourcetimingbufferfull/index.md b/files/ja/web/api/performance/onresourcetimingbufferfull/index.md deleted file mode 100644 index 7c13934198..0000000000 --- a/files/ja/web/api/performance/onresourcetimingbufferfull/index.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: Performance.onresourcetimingbufferfull -slug: Web/API/Performance/onresourcetimingbufferfull -tags: - - API - - プロパティ - - リファレンス - - ウェブパフォーマンス -browser-compat: api.Performance.onresourcetimingbufferfull -translation_of: Web/API/Performance/onresourcetimingbufferfull ---- -{{APIRef("Resource Timing API")}} - -**`onresourcetimingbufferfull`** プロパティは、 {{domxref("Performance/resourcetimingbufferfull_event", "resourcetimingbufferfull")}} イベントが発生したときに呼び出されるイベントハンドラーです。このイベントは、ブラウザーのリソースタイミングパフォーマンスバッファーがいっぱいになったときに発生します。 - -{{AvailableInWorkers}} - -## 構文 - -```js -callback = performance.onresourcetimingbufferfull = buffer_full_cb; -``` - -### 返値 - -- callback - - : [イベントハンドラー](/ja/docs/Web/Events/Event_handlers)で、 {{domxref("Performance/resourcetimingbufferfull_event", "resourcetimingbufferfull")}} イベントが発生したときに呼び出されるものです。 - - -## 例 - -次の例では、 `onresourcetimingbufferfull` プロパティにコールバック関数を設定します。 - -```js -function buffer_full(event) { - console.log("WARNING: Resource Timing Buffer is FULL!"); - performance.setResourceTimingBufferSize(200); -} -function init() { - // リソースバッファーが一杯になったときのコールバックを設定 - performance.onresourcetimingbufferfull = buffer_full; -} - -``` - -## 仕様書 - -{{Specifications}} - -## ブラウザーの互換性 - -{{Compat}} - -## 関連情報 - -- {{domxref("Performance/resourcetimingbufferfull_event", "resourcetimingbufferfull")}} イベント -- {{domxref("Performance.clearResourceTimings","Performance.clearResourceTimings()")}} -- {{domxref("Performance.setResourceTimingBufferSize","Performance.setResourceTimingBufferSize()")}} diff --git a/files/ja/web/api/window/onappinstalled/index.html b/files/ja/web/api/window/onappinstalled/index.html deleted file mode 100644 index f59a7a86fb..0000000000 --- a/files/ja/web/api/window/onappinstalled/index.html +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: Window.onappinstalled -slug: Web/API/Window/onappinstalled -tags: - - API - - Event Handler - - Property - - Reference - - Window - - web manifest -translation_of: Web/API/Window/onappinstalled -original_slug: Web/API/Window/oninstall ---- -
{{APIRef}}
- -

{{domxref("Window")}} オブジェクトの onappinstalled プロパティは、appinstalled イベントのイベントハンドラーとして扱われます。これは、ウェブアプリケーションが プログレッシブウェブアプリ (PWA) としてインストールに成功すると発行されます。この発生したイベントは、{{domxref("Event")}} インターフェイスを実装する「単純なイベント」です。

- -

構文

- -
window.onappinstalled = function(event) { ... };
-
- -

- -
window.onappinstalled = function(ev) {
-  console.log('アプリケーションがインストールされました。');
-};
- -

仕様

- - - - - - - - - - - - - - - - -
仕様書策定状況備考
{{SpecName('Manifest', '#onappinstalled-attribute', 'Window.onappinstalled')}}{{Spec2('Manifest')}}初期定義
- -

ブラウザー実装状況

- - - -

{{Compat("api.Window.onappinstalled")}}

- -

関連項目

- - -- cgit v1.2.3-54-g00ecf