type kind = | Document| Sheet| Script| Picture| Media| Fetch
type request = {url : string;kind : kind;status : int option;bytes : int;
}type view = | Page| Source
type t = {state : state;view : view;scroll : int;history : entry Browser_history.t;visited : string list;fragment : string option;pictures : (string * Browser_picture.t) list;sheets : (string * string) list;sheet_urls : string list;queue : string list;in_flight : string list;total : int;images : bool;focus : Dom.element option;script : Browser_script.t option;requests : request list;sources : (string * string) list;pending_scripts : string list;media : (string * string) list;media_urls : string list;
}val empty : images:bool -> tval current_url : t -> stringval load :
?post:(string * string) ->
'msg config ->
< Cap.network.. > ->
string ->
t ->
t * 'msg Cmd.tval visit :
?post:(string * string) ->
'msg config ->
< Cap.network.. > ->
string ->
t ->
t * 'msg Cmd.tval back : 'msg config -> < Cap.network.. > -> t -> t * 'msg Cmd.tval forward : 'msg config -> < Cap.network.. > -> t -> t * 'msg Cmd.tval load_images : 'msg config -> < Cap.network.. > -> t -> t * 'msg Cmd.tval after_task : 'msg config -> < Cap.network.. > -> t -> t * 'msg Cmd.t