package incr_dom

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=a3a9ef135edd2039b5e771dfd9461ff2bbae55e2611af0e81c9577898314a76f

doc/src/incr_dom.testing/helpers_intf.ml.html

Source file helpers_intf.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
open! Core
open! Import

module type S = sig
  type model
  type action
  type state

  val show_view : ?selector:string -> unit -> unit
  val show_model : unit -> unit
  val set_model : model -> unit
  val do_actions : action list -> unit
  val perform_update : unit -> unit
  val click_on : selector:string -> unit
  val input_text : selector:string -> text:string -> unit
end

module type Helpers = sig
  module type S = S

  val make
    :  ('model, 'action, 'state) Driver.t
    -> (module S
          with type model = 'model
           and type action = 'action
           and type state = 'state)
end
OCaml

Innovation. Community. Security.