Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newNotificationPermissionCallback :: (MonadDOM m, FromJSString permission) => (permission -> JSM ()) -> m (NotificationPermissionCallback permission)
- newNotificationPermissionCallbackSync :: (MonadDOM m, FromJSString permission) => (permission -> JSM ()) -> m (NotificationPermissionCallback permission)
- newNotificationPermissionCallbackAsync :: (MonadDOM m, FromJSString permission) => (permission -> JSM ()) -> m (NotificationPermissionCallback permission)
- data NotificationPermissionCallback permissions
Documentation
newNotificationPermissionCallback :: (MonadDOM m, FromJSString permission) => (permission -> JSM ()) -> m (NotificationPermissionCallback permission) Source #
newNotificationPermissionCallbackSync :: (MonadDOM m, FromJSString permission) => (permission -> JSM ()) -> m (NotificationPermissionCallback permission) Source #
newNotificationPermissionCallbackAsync :: (MonadDOM m, FromJSString permission) => (permission -> JSM ()) -> m (NotificationPermissionCallback permission) Source #
data NotificationPermissionCallback permissions Source #
Instances
ToJSVal (NotificationPermissionCallback permissions) Source # | |
Defined in JSDOM.Types toJSVal :: NotificationPermissionCallback permissions -> JSM JSVal # toJSValListOf :: [NotificationPermissionCallback permissions] -> JSM JSVal # |