A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/ja/docs/Web/API/PageTransitionEvent/PageTransitionEvent below:

PageTransitionEvent: PageTransitionEvent() コンストラクター - Web API

PageTransitionEvent: PageTransitionEvent() コンストラクター

Baseline Widely available

PageTransitionEvent() コンストラクターは、新しい PageTransitionEvent オブジェクトを生成します。これは、ページが読み込まれたり、読み込まれなかったりする際に window オブジェクトで発行される pageshow または pagehide イベントで使用します。

メモ: ウェブ開発者は通常、このコンストラクターを呼ぶ必要はありません。なぜなら、ブラウザーが pageshow または pagehide イベントを発行すると、これらのオブジェクトを自動的に作成するからです。

構文
new PageTransitionEvent(type, options)
引数
type

イベント名の文字列です。 大文字小文字の区別があり、ブラウザーは pageshow または pagehide に設定します。

options 省略可

オブジェクトで、Event() で定義されているプロパティに加えて、以下のプロパティがあります。

persisted 省略可

論理値で、文書内のキャッシュから読み込んでいるかどうかを示します。

返値

新しい PageTransitionEvent オブジェクトです。

仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4