Safe Haskell | None |
---|---|
Language | GHC2024 |
Documentation
Instances
Generic PauseStop # | |||||
Defined in Napkin.Cli.Web.Navbar | |||||
HyperView PauseStop # | |||||
Defined in Napkin.Cli.Web.Navbar
| |||||
ViewId PauseStop # | |||||
Defined in Napkin.Cli.Web.Navbar | |||||
type Rep PauseStop # | |||||
type Action PauseStop # | |||||
Defined in Napkin.Cli.Web.Navbar |
data PauseStopAction #
Instances
Generic PauseStopAction # | |||||
Defined in Napkin.Cli.Web.Navbar
from :: PauseStopAction -> Rep PauseStopAction x # to :: Rep PauseStopAction x -> PauseStopAction # | |||||
ViewAction PauseStopAction # | |||||
Defined in Napkin.Cli.Web.Navbar toAction :: PauseStopAction -> Text # parseAction :: Text -> Maybe PauseStopAction # | |||||
type Rep PauseStopAction # | |||||
Defined in Napkin.Cli.Web.Navbar |
handlePauseButton :: forall b (es :: [Effect]). (Hyperbole :> es, Execution :> es, DAG b :> es) => PauseStop -> PauseStopAction -> Eff es (View PauseStop ()) #
pauseQuitButtons :: forall b (es :: [Effect]). (Hyperbole :> es, Execution :> es, DAG b :> es) => Eff es (View PauseStop ()) #
navbarContent :: forall b f (es :: [Effect]). (Hyperbole :> es, Time :> es, DAG b :> es, Execution :> es, Reader Title :> es, Reader (WebRunMode b) :> es, Reader UTCTime :> es, IOE :> es, Reader Args :> es) => f -> NavBarAction -> Eff es (View NavBar ()) #
getNavbarState :: forall b (es :: [Effect]). (Hyperbole :> es, DAG b :> es) => Eff es NavbarStatus #
navbar :: Maybe NominalDiffTime -> Maybe Estimate -> WebRunMode b -> Title -> NavbarStatus -> Args -> View PauseStop () -> View NavBar () #