Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newNotification :: (MonadDOM m, ToJSString title) => title -> Maybe NotificationOptions -> m Notification
- show :: MonadDOM m => Notification -> m ()
- close :: MonadDOM m => Notification -> m ()
- requestPermission :: (MonadDOM m, ToJSString callback) => Notification -> Maybe (NotificationPermissionCallback callback) -> m ()
- getPermission :: (MonadDOM m, FromJSString result) => Notification -> m result
- click :: EventName Notification MouseEvent
- error :: EventName Notification UIEvent
- cLoseEvent :: EventName Notification CloseEvent
- display :: EventName Notification ondisplay
- showEvent :: EventName Notification MouseEvent
- setTag :: (MonadDOM m, ToJSString val) => Notification -> val -> m ()
- getTag :: (MonadDOM m, FromJSString result) => Notification -> m result
- newtype Notification = Notification {}
- gTypeNotification :: JSM GType
Documentation
newNotification :: (MonadDOM m, ToJSString title) => title -> Maybe NotificationOptions -> m Notification Source #
show :: MonadDOM m => Notification -> m () Source #
close :: MonadDOM m => Notification -> m () Source #
requestPermission :: (MonadDOM m, ToJSString callback) => Notification -> Maybe (NotificationPermissionCallback callback) -> m () Source #
getPermission :: (MonadDOM m, FromJSString result) => Notification -> m result Source #
setTag :: (MonadDOM m, ToJSString val) => Notification -> val -> m () Source #
getTag :: (MonadDOM m, FromJSString result) => Notification -> m result Source #
newtype Notification Source #
Functions for this inteface are in JSDOM.Notification. Base interface functions are in: