Copyright | (C) 2016-2025 David M. Johnson |
---|---|
License | BSD3-style (see the file LICENSE) |
Maintainer | David M. Johnson <code@dmj.io> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Miso.Lynx
Contents
Description
Example usage:
import Miso import Miso.Lynx view :: Model -> View Model Action view m = view_ [] [ view_ [ onTap Increment ] [ text_ [] [ "+" ] ] , text_ [] [ text $ ms (show m) ] , view_ [ onTap Decrement ] [ text_ [] [ "-" ] ] ]
More information on how to use miso is available on GitHub
Synopsis
- lynx :: Eq model => App model action -> JSM ()
- module Miso.Lynx.Element
- module Miso.Lynx.FFI
- module Miso.Lynx.Event