navigateTo :: forall eff. String -> Eff (dom :: DOM | eff) Unit
sampleUrl :: forall eff. Eff (dom :: DOM | eff) (Signal String)
Returns a signal containing the current window location path and query.
link :: forall a. String -> Array (Attribute a) -> Array (Html a) -> Html a
Creates an anchor that pushes new location to HTML5 history.
link "/" [] [ text "Home" ]
data RoutePart
= Path String
| Query (Map String String)
newtype Match a
Functor Match
Alt Match
Apply Match
Plus Match
Applicative Match
end :: Match Unit
lit :: String -> Match Unit
num :: Match Number
int :: Match Int
bool :: Match Boolean
str :: Match String
param :: String -> Match String
params :: Match (Map String String)
any :: Match Unit
router :: forall a. String -> Match a -> Maybe a