package d3

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'b) t
type ('a, 'b) fn = Dom.node Js.t -> 'a -> int -> 'b
val select : string -> ('a, 'a) t
val selectAll : string -> ('a, 'a) t
val attr : string -> ('a, string) fn -> ('a, 'a) t
val classed : string -> ('a, bool) fn -> ('a, 'a) t
val style : string -> ('a, string) fn -> ('a, 'a) t
val property : string -> ('a, 'b Js.t) fn -> ('a, 'a) t
val text : ('a, string) fn -> ('a, 'a) t
val html : ('a, string) fn -> ('a, 'a) t
val append : string -> ('a, 'a) t
val remove : ('a, 'a) t
val static : string -> ('a, 'a) t
val data : ('a -> int -> 'b list) -> ('a, 'b) t
val datum : ('a -> int -> 'b) -> ('a, 'b) t
val enter : ('a, 'a) t
val update : ('a, 'a) t
val exit : ('a, 'a) t
val filter : ('a, bool) fn -> ('a, 'a) t
val sort : ('a -> 'a -> int) -> ('a, 'a) t
val each : ('a, unit) fn -> ('a, 'a) t
val (|.) : ('a, 'b) t -> ('b, 'c) t -> ('a, 'c) t
val (<.>) : ('a, 'b) t -> ('b, 'c) t -> ('a, 'c) t
val (|-) : ('a, 'b) t -> ('b, 'c) t -> ('a, 'b) t
val chain : ('a, 'a) t list -> ('a, 'a) t
val seq : ('a, 'a) t list -> ('a, 'a) t
val nest : ('a, 'b) t -> ('b, 'b) t list -> ('a, 'b) t
val str : (string -> ('a, string) fn -> ('a, 'a) t) -> string -> string -> ('a, 'a) t
val int : (string -> ('a, string) fn -> ('a, 'a) t) -> string -> int -> ('a, 'a) t
val flt : (string -> ('a, string) fn -> ('a, 'a) t) -> string -> float -> ('a, 'a) t
module E : sig ... end
val run : ?node:Dom.node Js.t -> ('a, _) t -> 'a -> unit
OCaml

Innovation. Community. Security.