page-lifecycle.idl (499B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Page Lifecycle (https://wicg.github.io/page-lifecycle/) 5 6 partial interface Document { 7 attribute EventHandler onfreeze; 8 attribute EventHandler onresume; 9 readonly attribute boolean wasDiscarded; 10 }; 11 12 partial interface Client { 13 readonly attribute ClientLifecycleState lifecycleState; 14 }; 15 16 enum ClientLifecycleState { 17 "active", 18 "frozen" 19 };