miso-lynx
Copyright(C) 2016-2025 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <code@dmj.io>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Lynx

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

http://github.com/dmjio/miso-lynx

Synopsis

Entrypoint

lynx :: Eq model => App model action -> JSM () Source #

Element

FFI

Event