From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/syncevent/index.html | 54 ++++++++++++++++++++++ files/ja/web/api/syncevent/lastchance/index.html | 44 ++++++++++++++++++ files/ja/web/api/syncevent/registration/index.html | 28 +++++++++++ files/ja/web/api/syncevent/syncevent/index.html | 42 +++++++++++++++++ files/ja/web/api/syncevent/tag/index.html | 48 +++++++++++++++++++ 5 files changed, 216 insertions(+) create mode 100644 files/ja/web/api/syncevent/index.html create mode 100644 files/ja/web/api/syncevent/lastchance/index.html create mode 100644 files/ja/web/api/syncevent/registration/index.html create mode 100644 files/ja/web/api/syncevent/syncevent/index.html create mode 100644 files/ja/web/api/syncevent/tag/index.html (limited to 'files/ja/web/api/syncevent') diff --git a/files/ja/web/api/syncevent/index.html b/files/ja/web/api/syncevent/index.html new file mode 100644 index 0000000000..cd45c94068 --- /dev/null +++ b/files/ja/web/api/syncevent/index.html @@ -0,0 +1,54 @@ +--- +title: SyncEvent +slug: Web/API/SyncEvent +tags: + - API + - Background Sync + - Interface + - Non-standard + - Offline + - Reference + - ServiceWorker + - SyncEvent + - Workers +translation_of: Web/API/SyncEvent +--- +

{{APIRef("Service Workers API")}} {{Non-standard_header}}

+ +

SyncEvent インターフェイスは、 ServiceWorker の {{domxref("ServiceWorkerGlobalScope")}} でディスパッチされる同期アクションを表します。 

+ +

このインターフェイスは {{domxref("ExtendableEvent")}} インターフェイスを継承しています。

+ +

{{InheritanceDiagram(700, 60, 20)}}

+ +

コンストラクタ

+ +
+
{{domxref("SyncEvent.SyncEvent()")}}
+
新規の SyncEvent オブジェクトを作成します。
+
+ +

プロパティ

+ +

祖先である {{domxref("Event")}}. からプロパティを継承します。

+ +
+
{{domxref("SyncEvent.tag")}} {{readonlyinline}}
+
この SyncEvent の開発者定義の識別子を返します。
+
{{domxref("SyncEvent.lastChance")}} {{readonlyinline}}
+
ユーザーエージェントが現在の試行の後に同期の試行をこれ以上行わない場合に true を返します。
+
+ +

関数

+ +

親である {{domxref("ExtendableEvent")}} から関数を継承します。

+ +

無し。

+ +

ブラウザーの互換性

+ +
+ + +

{{Compat("api.SyncEvent")}}

+
diff --git a/files/ja/web/api/syncevent/lastchance/index.html b/files/ja/web/api/syncevent/lastchance/index.html new file mode 100644 index 0000000000..8571d82008 --- /dev/null +++ b/files/ja/web/api/syncevent/lastchance/index.html @@ -0,0 +1,44 @@ +--- +title: SyncEvent.lastChance +slug: Web/API/SyncEvent/lastChance +tags: + - API + - Background Sync + - Experimental + - Property + - Reference + - ServiceWorker + - SyncEvent + - lastChance +translation_of: Web/API/SyncEvent/lastChance +--- +

{{SeeCompatTable}}{{APIRef("")}}

+ +

{{domxref("SyncEvent")}} インターフェイスの SyncEvent.lastChance 読み取り専用プロパティは、現在の試行後にユーザーエージェントが同期を試行しない場合に true を返します。 これは、 {{domxref("SyncEvent.SyncEvent","SyncEvent()")}} コンストラクタの lastChance パラメータに渡される値です。

+ +

構文

+ +
var lastChance = SyncEvent.lastChance
+ +

+ +

{{jsxref("Boolean")}} は、現在の試行の後にユーザーエージェントがこれ以上同期を試行しないかどうかを示します。

+ +

仕様

+ + + + + + + + + + +
仕様
Web Background Synchronization
+ +

ブラウザー実装状況

+ + + +

{{Compat("api.SyncEvent.lastChance")}}

diff --git a/files/ja/web/api/syncevent/registration/index.html b/files/ja/web/api/syncevent/registration/index.html new file mode 100644 index 0000000000..ff5b936140 --- /dev/null +++ b/files/ja/web/api/syncevent/registration/index.html @@ -0,0 +1,28 @@ +--- +title: registration +slug: Web/API/SyncEvent/registration +tags: + - DOM + - Junk + - Property +translation_of: Web/API/SyncEvent/registration +--- +

{{Non-standard_header}}{{APIRef("Service Workers API")}}

+ +

{{domxref("SyncEvent")}} インターフェイスの登録読み取り専用プロパティは、 {{domxref("SyncRegistration")}} オブジェクトへの参照を返します。

+ +

構文

+ +
var syncReg = SyncEvent.registration
+ +

+ +

{{domxref("SyncRegistration")}} オブジェクト

+ +

ブラウザー実装状況

+ +
+ + +

{{Compat("api.SyncEvent.registration")}}

+
diff --git a/files/ja/web/api/syncevent/syncevent/index.html b/files/ja/web/api/syncevent/syncevent/index.html new file mode 100644 index 0000000000..b195429765 --- /dev/null +++ b/files/ja/web/api/syncevent/syncevent/index.html @@ -0,0 +1,42 @@ +--- +title: SyncEvent.SyncEvent() +slug: Web/API/SyncEvent/SyncEvent +tags: + - API + - Background Sync + - Constructor + - Experimental + - Reference + - ServiceWorker + - SyncEvent +translation_of: Web/API/SyncEvent/SyncEvent +--- +

{{APIRef("Service Workers API")}}{{Non-standard_header}}

+ +

SyncEvent() コンストラクタは、新規の {{domxref("SyncEvent")}} オブジェクトを作成します。

+ +

構文

+ +
var mySyncEvent = new SyncEvent(type, init)
+ +

パラメータ

+ +
+
type
+
イベントの型。.
+
init {{optional_inline}}
+
イベントオブジェクトに適用するカスタム設定を含むオプションオブジェクト。オプションは次の通りです: +
    +
  • tag: この SyncEvent の開発者が定義した一意の識別子。
  • +
  • lastChance: {{jsxref("Boolean")}} は、現在の試行後にユーザーエージェントが同期の試行をこれ以上行わないことを示しています。
  • +
+
+
+ +

ブラウザーの互換性

+ +
+ + +

{{Compat("api.SyncEvent.SyncEvent")}}

+
diff --git a/files/ja/web/api/syncevent/tag/index.html b/files/ja/web/api/syncevent/tag/index.html new file mode 100644 index 0000000000..7bf90de810 --- /dev/null +++ b/files/ja/web/api/syncevent/tag/index.html @@ -0,0 +1,48 @@ +--- +title: SyncEvent.tag +slug: Web/API/SyncEvent/tag +tags: + - API + - Background Sync + - Experimental + - Property + - Reference + - ServiceWorker + - SyncEvent + - tag +translation_of: Web/API/SyncEvent/tag +--- +

{{SeeCompatTable}}{{APIRef("")}}

+ +

{{domxref("SyncEvent")}} インターフェイスの SyncEvent.tag 読み取り専用プロパティは、この SyncEvent の開発者定義の識別子を返します。これは、 {{domxref("SyncEvent.SyncEvent","SyncEvent()")}} コンストラクタの tag パラメータで渡される値です。

+ +

構文

+ +
var tag = SyncEvent.tag
+ +

+ +

この SyncEvent の開発者定義の識別子。

+ +

仕様

+ + + + + + + + + + + + + + +
仕様ステータス備考
{{SpecName('Background Sync','#sync-event', 'tag')}}{{Spec2('Background Sync')}}初回定義。
+ +

ブラウザー実装状況

+ + + +

{{Compat("api.SyncEvent.tag")}}

-- cgit v1.2.3-54-g00ecf