Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data NavTrail b = NavTrail {}
- initNavTrail :: SnapletLens b SessionManager -> Maybe (Snaplet (Heist b)) -> SnapletInit b (NavTrail b)
- setFocus :: Handler b (NavTrail b) ()
- setFocus' :: ByteString -> Handler b (NavTrail b) ()
- setFocusToRef :: Handler b (NavTrail b) ()
- getFocus :: Handler b (NavTrail b) (Maybe Text)
- getFocusDef :: Text -> Handler b (NavTrail b) Text
- redirBack :: MonadSnap m => m a
- redirFocus :: ByteString -> Handler b (NavTrail b) a
- backSplice :: MonadSnap m => HeistT m m Template
- backCSplice :: Splice (Handler b v)
- focusSplice :: SnapletLens (Snaplet v) (NavTrail b) -> Splice (Handler b v)
- focusCSplice :: SnapletLens (Snaplet v) (NavTrail b) -> Splice (Handler b v)
- addNavTrailSplices :: Snaplet (Heist b) -> Initializer b (NavTrail b) ()
Documentation
NavTrail | |
|
:: SnapletLens b SessionManager | Lens to the session snaplet |
-> Maybe (Snaplet (Heist b)) | The heist snaplet (not a lens), if you want splices to be added automatically. |
-> SnapletInit b (NavTrail b) |
setFocusToRef :: Handler b (NavTrail b) () Source #
redirFocus :: ByteString -> Handler b (NavTrail b) a Source #
backCSplice :: Splice (Handler b v) Source #
focusSplice :: SnapletLens (Snaplet v) (NavTrail b) -> Splice (Handler b v) Source #
focusCSplice :: SnapletLens (Snaplet v) (NavTrail b) -> Splice (Handler b v) Source #
addNavTrailSplices :: Snaplet (Heist b) -> Initializer b (NavTrail b) () Source #