Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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 #
ToJSVal (NotificationPermissionCallback permissions) Source # | |