ghcjs-dom-javascript-0.10.0.0: src/GHCJS/DOM/JSFFI/Generated/ExtendableEventInit.hs
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ForeignFunctionInterface, JavaScriptFFI #-}
{-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- | Generated by dom-gen from service-workers (webref). Do not edit.
module GHCJS.DOM.JSFFI.Generated.ExtendableEventInit
(js_newExtendableEventInit, newExtendableEventInit, ExtendableEventInit(..), gTypeExtendableEventInit, IsExtendableEventInit, toExtendableEventInit)
where
import Prelude ((.), (==), (>>=), (<$>), (++), Bool(..), Maybe(..), IO, Int, Word, Double, Float)
import qualified Prelude as P
import Control.Monad (void)
import GHCJS.Types (JSVal, JSString)
import GHCJS.Foreign (jsUndefined, jsNull)
import GHCJS.DOM.Types
import qualified GHCJS.DOM.Types as Types
import GHCJS.DOM.EventTargetClosures (EventName, unsafeEventName, unsafeEventNameAsync)
import GHCJS.DOM.JSFFI.Generated.Enums
foreign import javascript safe "(() => { return ({}); })"
js_newExtendableEventInit :: IO ExtendableEventInit
-- | <https://w3c.github.io/ServiceWorker/#dictdef-extendableeventinit ExtendableEventInit specification>
newExtendableEventInit :: (MonadDOM m) => m ExtendableEventInit
newExtendableEventInit = liftDOM ((js_newExtendableEventInit))