package tyxml-lwd

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a elt = 'a node live
type doc = Html_types.html elt
type +'a attrib
type ('a, 'b) nullary = ?a:'a attrib list -> unit -> 'b elt
type ('a, 'b, 'c) unary = ?a:'a attrib list -> 'b elt -> 'c elt
type ('a, 'b, 'c) star = ?a:'a attrib list -> 'b elt list -> 'c elt
val string_of_uri : Xml.uri -> string
val uri_of_string : string -> Xml.uri
val a_class : Html_types.nmtokens Lwd.t -> [> `Class ] attrib
val a_user_data : string -> string Lwd.t -> [> `User_data ] attrib
val a_id : string Lwd.t -> [> `Id ] attrib
val a_title : string Lwd.t -> [> `Title ] attrib
val a_xml_lang : string Lwd.t -> [> `XML_lang ] attrib
val a_lang : string Lwd.t -> [> `Lang ] attrib
val a_onabort : Xml.event_handler -> [> `OnAbort ] attrib
val a_onafterprint : Xml.event_handler -> [> `OnAfterPrint ] attrib
val a_onbeforeprint : Xml.event_handler -> [> `OnBeforePrint ] attrib
val a_onbeforeunload : Xml.event_handler -> [> `OnBeforeUnload ] attrib
val a_onblur : Xml.event_handler -> [> `OnBlur ] attrib
val a_oncanplay : Xml.event_handler -> [> `OnCanPlay ] attrib
val a_oncanplaythrough : Xml.event_handler -> [> `OnCanPlayThrough ] attrib
val a_onchange : Xml.event_handler -> [> `OnChange ] attrib
val a_ondurationchange : Xml.event_handler -> [> `OnDurationChange ] attrib
val a_onemptied : Xml.event_handler -> [> `OnEmptied ] attrib
val a_onended : Xml.event_handler -> [> `OnEnded ] attrib
val a_onerror : Xml.event_handler -> [> `OnError ] attrib
val a_onfocus : Xml.event_handler -> [> `OnFocus ] attrib
val a_onformchange : Xml.event_handler -> [> `OnFormChange ] attrib
val a_onforminput : Xml.event_handler -> [> `OnFormInput ] attrib
val a_onhashchange : Xml.event_handler -> [> `OnHashChange ] attrib
val a_oninput : Xml.event_handler -> [> `OnInput ] attrib
val a_oninvalid : Xml.event_handler -> [> `OnInvalid ] attrib
val a_onmousewheel : Xml.event_handler -> [> `OnMouseWheel ] attrib
val a_onoffline : Xml.event_handler -> [> `OnOffLine ] attrib
val a_ononline : Xml.event_handler -> [> `OnOnLine ] attrib
val a_onpause : Xml.event_handler -> [> `OnPause ] attrib
val a_onplay : Xml.event_handler -> [> `OnPlay ] attrib
val a_onplaying : Xml.event_handler -> [> `OnPlaying ] attrib
val a_onpagehide : Xml.event_handler -> [> `OnPageHide ] attrib
val a_onpageshow : Xml.event_handler -> [> `OnPageShow ] attrib
val a_onpopstate : Xml.event_handler -> [> `OnPopState ] attrib
val a_onprogress : Xml.event_handler -> [> `OnProgress ] attrib
val a_onratechange : Xml.event_handler -> [> `OnRateChange ] attrib
val a_onreadystatechange : Xml.event_handler -> [> `OnReadyStateChange ] attrib
val a_onredo : Xml.event_handler -> [> `OnRedo ] attrib
val a_onresize : Xml.event_handler -> [> `OnResize ] attrib
val a_onscroll : Xml.event_handler -> [> `OnScroll ] attrib
val a_onseeked : Xml.event_handler -> [> `OnSeeked ] attrib
val a_onseeking : Xml.event_handler -> [> `OnSeeking ] attrib
val a_onselect : Xml.event_handler -> [> `OnSelect ] attrib
val a_onshow : Xml.event_handler -> [> `OnShow ] attrib
val a_onstalled : Xml.event_handler -> [> `OnStalled ] attrib
val a_onstorage : Xml.event_handler -> [> `OnStorage ] attrib
val a_onsubmit : Xml.event_handler -> [> `OnSubmit ] attrib
val a_onsuspend : Xml.event_handler -> [> `OnSuspend ] attrib
val a_ontimeupdate : Xml.event_handler -> [> `OnTimeUpdate ] attrib
val a_onundo : Xml.event_handler -> [> `OnUndo ] attrib
val a_onunload : Xml.event_handler -> [> `OnUnload ] attrib
val a_onvolumechange : Xml.event_handler -> [> `OnVolumeChange ] attrib
val a_onwaiting : Xml.event_handler -> [> `OnWaiting ] attrib
val a_onload : Xml.event_handler -> [> `OnLoad ] attrib
val a_onloadeddata : Xml.event_handler -> [> `OnLoadedData ] attrib
val a_onloadedmetadata : Xml.event_handler -> [> `OnLoadedMetaData ] attrib
val a_onloadstart : Xml.event_handler -> [> `OnLoadStart ] attrib
val a_onmessage : Xml.event_handler -> [> `OnMessage ] attrib
val a_onclick : Xml.mouse_event_handler -> [> `OnClick ] attrib
val a_oncontextmenu : Xml.mouse_event_handler -> [> `OnContextMenu ] attrib
val a_ondblclick : Xml.mouse_event_handler -> [> `OnDblClick ] attrib
val a_ondrag : Xml.mouse_event_handler -> [> `OnDrag ] attrib
val a_ondragend : Xml.mouse_event_handler -> [> `OnDragEnd ] attrib
val a_ondragenter : Xml.mouse_event_handler -> [> `OnDragEnter ] attrib
val a_ondragleave : Xml.mouse_event_handler -> [> `OnDragLeave ] attrib
val a_ondragover : Xml.mouse_event_handler -> [> `OnDragOver ] attrib
val a_ondragstart : Xml.mouse_event_handler -> [> `OnDragStart ] attrib
val a_ondrop : Xml.mouse_event_handler -> [> `OnDrop ] attrib
val a_onmousedown : Xml.mouse_event_handler -> [> `OnMouseDown ] attrib
val a_onmouseup : Xml.mouse_event_handler -> [> `OnMouseUp ] attrib
val a_onmouseover : Xml.mouse_event_handler -> [> `OnMouseOver ] attrib
val a_onmousemove : Xml.mouse_event_handler -> [> `OnMouseMove ] attrib
val a_onmouseout : Xml.mouse_event_handler -> [> `OnMouseOut ] attrib
val a_ontouchstart : Xml.touch_event_handler -> [> `OnTouchStart ] attrib
val a_ontouchend : Xml.touch_event_handler -> [> `OnTouchEnd ] attrib
val a_ontouchmove : Xml.touch_event_handler -> [> `OnTouchMove ] attrib
val a_ontouchcancel : Xml.touch_event_handler -> [> `OnTouchCancel ] attrib
val a_onkeypress : Xml.keyboard_event_handler -> [> `OnKeyPress ] attrib
val a_onkeydown : Xml.keyboard_event_handler -> [> `OnKeyDown ] attrib
val a_onkeyup : Xml.keyboard_event_handler -> [> `OnKeyUp ] attrib
val a_allowfullscreen : unit -> [> `Allowfullscreen ] attrib
val a_allowpaymentrequest : unit -> [> `Allowpaymentrequest ] attrib
val a_autocomplete : bool Lwd.t -> [> `Autocomplete ] attrib
val a_async : unit -> [> `Async ] attrib
val a_autofocus : unit -> [> `Autofocus ] attrib
val a_autoplay : unit -> [> `Autoplay ] attrib
val a_muted : unit -> [> `Muted ] attrib
val a_crossorigin : [< `Anonymous | `Use_credentials ] Lwd.t -> [> `Crossorigin ] attrib
val a_integrity : string Lwd.t -> [> `Integrity ] attrib
val a_mediagroup : string Lwd.t -> [> `Mediagroup ] attrib
val a_challenge : string Lwd.t -> [> `Challenge ] attrib
val a_contenteditable : bool Lwd.t -> [> `Contenteditable ] attrib
val a_contextmenu : string Lwd.t -> [> `Contextmenu ] attrib
val a_controls : unit -> [> `Controls ] attrib
val a_dir : [< `Ltr | `Rtl ] Lwd.t -> [> `Dir ] attrib
val a_draggable : bool Lwd.t -> [> `Draggable ] attrib
val a_form : string Lwd.t -> [> `Form ] attrib
val a_formaction : Xml.uri Lwd.t -> [> `Formaction ] attrib
val a_formenctype : string Lwd.t -> [> `Formenctype ] attrib
val a_formnovalidate : unit -> [> `Formnovalidate ] attrib
val a_formtarget : string Lwd.t -> [> `Formtarget ] attrib
val a_hidden : unit -> [> `Hidden ] attrib
val a_high : float Lwd.t -> [> `High ] attrib
val a_icon : Xml.uri Lwd.t -> [> `Icon ] attrib
val a_ismap : unit -> [> `Ismap ] attrib
val a_keytype : string Lwd.t -> [> `Keytype ] attrib
val a_list : string Lwd.t -> [> `List ] attrib
val a_loop : unit -> [> `Loop ] attrib
val a_low : float Lwd.t -> [> `High ] attrib
val a_max : float Lwd.t -> [> `Max ] attrib
val a_input_max : Html_types.number_or_datetime Lwd.t -> [> `Input_Max ] attrib
val a_min : float Lwd.t -> [> `Min ] attrib
val a_input_min : Html_types.number_or_datetime Lwd.t -> [> `Input_Min ] attrib
val a_inputmode : [< `Email | `Full_width_latin | `Kana | `Katakana | `Latin | `Latin_name | `Latin_prose | `Numeric | `Tel | `Url | `Verbatim ] Lwd.t -> [> `Inputmode ] attrib
val a_novalidate : unit -> [> `Novalidate ] attrib
val a_open : unit -> [> `Open ] attrib
val a_optimum : float Lwd.t -> [> `Optimum ] attrib
val a_pattern : string Lwd.t -> [> `Pattern ] attrib
val a_placeholder : string Lwd.t -> [> `Placeholder ] attrib
val a_poster : Xml.uri Lwd.t -> [> `Poster ] attrib
val a_preload : [< `Audio | `Metadata | `None ] Lwd.t -> [> `Preload ] attrib
val a_pubdate : unit -> [> `Pubdate ] attrib
val a_radiogroup : string Lwd.t -> [> `Radiogroup ] attrib
val a_referrerpolicy : Html_types.referrerpolicy Lwd.t -> [> `Referrerpolicy ] attrib
val a_required : unit -> [> `Required ] attrib
val a_reversed : unit -> [> `Reversed ] attrib
val a_sandbox : [< Html_types.sandbox_token ] list Lwd.t -> [> `Sandbox ] attrib
val a_spellcheck : bool Lwd.t -> [> `Spellcheck ] attrib
val a_scoped : unit -> [> `Scoped ] attrib
val a_seamless : unit -> [> `Seamless ] attrib
val a_sizes : (int * int) list option Lwd.t -> [> `Sizes ] attrib
val a_span : int Lwd.t -> [> `Span ] attrib
type image_candidate = [
  1. | `Url of Xml.uri
  2. | `Url_pixel of Xml.uri * float
  3. | `Url_width of Xml.uri * int
]
val a_srcset : image_candidate list Lwd.t -> [> `Srcset ] attrib
val a_img_sizes : string list Lwd.t -> [> `Img_sizes ] attrib
val a_start : int Lwd.t -> [> `Start ] attrib
val a_step : float option Lwd.t -> [> `Step ] attrib
val a_wrap : [< `Hard | `Soft ] Lwd.t -> [> `Wrap ] attrib
val a_version : string Lwd.t -> [> `Version ] attrib
val a_xmlns : [< `W3_org_1999_xhtml ] Lwd.t -> [> `XMLns ] attrib
val a_manifest : Xml.uri Lwd.t -> [> `Manifest ] attrib
val a_cite : Xml.uri Lwd.t -> [> `Cite ] attrib
val a_xml_space : [< `Default | `Preserve ] Lwd.t -> [> `XML_space ] attrib
val a_accesskey : char Lwd.t -> [> `Accesskey ] attrib
val a_charset : string Lwd.t -> [> `Charset ] attrib
val a_accept_charset : Html_types.charsets Lwd.t -> [> `Accept_charset ] attrib
val a_accept : Html_types.contenttypes Lwd.t -> [> `Accept ] attrib
val a_href : Xml.uri Lwd.t -> [> `Href ] attrib
val a_hreflang : string Lwd.t -> [> `Hreflang ] attrib
val a_download : string option Lwd.t -> [> `Download ] attrib
val a_rel : Html_types.linktypes Lwd.t -> [> `Rel ] attrib
val a_tabindex : int Lwd.t -> [> `Tabindex ] attrib
val a_mime_type : string Lwd.t -> [> `Mime_type ] attrib
val a_datetime : string Lwd.t -> [> `Datetime ] attrib
val a_action : Xml.uri Lwd.t -> [> `Action ] attrib
val a_checked : unit -> [> `Checked ] attrib
val a_cols : int Lwd.t -> [> `Cols ] attrib
val a_enctype : string Lwd.t -> [> `Enctype ] attrib
val a_label_for : string Lwd.t -> [> `Label_for ] attrib
val a_output_for : Html_types.idrefs Lwd.t -> [> `Output_for ] attrib
val a_maxlength : int Lwd.t -> [> `Maxlength ] attrib
val a_minlength : int Lwd.t -> [> `Minlength ] attrib
val a_method : [< `Get | `Post ] Lwd.t -> [> `Method ] attrib
val a_multiple : unit -> [> `Multiple ] attrib
val a_name : string Lwd.t -> [> `Name ] attrib
val a_rows : int Lwd.t -> [> `Rows ] attrib
val a_selected : unit -> [> `Selected ] attrib
val a_size : int Lwd.t -> [> `Size ] attrib
val a_src : Xml.uri Lwd.t -> [> `Src ] attrib
val a_input_type : [< `Button | `Checkbox | `Color | `Date | `Datetime | `Datetime_local | `Email | `File | `Hidden | `Image | `Month | `Number | `Password | `Radio | `Range | `Reset | `Search | `Submit | `Tel | `Text | `Time | `Url | `Week ] Lwd.t -> [> `Input_Type ] attrib
val a_text_value : string Lwd.t -> [> `Text_Value ] attrib
val a_int_value : int Lwd.t -> [> `Int_Value ] attrib
val a_value : string Lwd.t -> [> `Value ] attrib
val a_float_value : float Lwd.t -> [> `Float_Value ] attrib
val a_disabled : unit -> [> `Disabled ] attrib
val a_readonly : unit -> [> `ReadOnly ] attrib
val a_button_type : [< `Button | `Reset | `Submit ] Lwd.t -> [> `Button_Type ] attrib
val a_command_type : [< `Checkbox | `Command | `Radio ] Lwd.t -> [> `Command_Type ] attrib
val a_menu_type : [< `Context | `Toolbar ] Lwd.t -> [> `Menu_Type ] attrib
val a_label : string Lwd.t -> [> `Label ] attrib
val a_colspan : int Lwd.t -> [> `Colspan ] attrib
val a_headers : Html_types.idrefs Lwd.t -> [> `Headers ] attrib
val a_rowspan : int Lwd.t -> [> `Rowspan ] attrib
val a_alt : string Lwd.t -> [> `Alt ] attrib
val a_height : int Lwd.t -> [> `Height ] attrib
val a_width : int Lwd.t -> [> `Width ] attrib
type shape = [
  1. | `Circle
  2. | `Default
  3. | `Poly
  4. | `Rect
]
val a_shape : shape Lwd.t -> [> `Shape ] attrib
val a_coords : Html_types.numbers Lwd.t -> [> `Coords ] attrib
val a_usemap : string Lwd.t -> [> `Usemap ] attrib
val a_data : Xml.uri Lwd.t -> [> `Data ] attrib
val a_scrolling : [< `Auto | `No | `Yes ] Lwd.t -> [> `Scrolling ] attrib
val a_target : string Lwd.t -> [> `Target ] attrib
val a_content : string Lwd.t -> [> `Content ] attrib
val a_http_equiv : string Lwd.t -> [> `Http_equiv ] attrib
val a_defer : unit -> [> `Defer ] attrib
val a_media : Html_types.mediadesc Lwd.t -> [> `Media ] attrib
val a_style : string Lwd.t -> [> `Style_Attr ] attrib
val a_property : string Lwd.t -> [> `Property ] attrib
val a_role : string list Lwd.t -> [> `Role ] attrib
val a_aria : string -> string list Lwd.t -> [> `Aria ] attrib
val txt : string Lwd.t -> [> Html_types.txt ] elt
val figure : ?figcaption: [ `Bottom of [< Html_types.figcaption ] elt | `Top of [< Html_types.figcaption ] elt ] -> ([< Html_types.figure_attrib ], [< Html_types.figure_content_fun ], [> Html_types.figure ]) star
val bdo : dir:[< `Ltr | `Rtl ] Lwd.t -> ([< Html_types.bdo_attrib ], [< Html_types.bdo_content_fun ], [> Html_types.bdo ]) star
val a : ([< Html_types.a_attrib ], 'a, [> 'a Html_types.a ]) star
val del : ([< Html_types.del_attrib ], 'a, [> 'a Html_types.del ]) star
val ins : ([< Html_types.ins_attrib ], 'a, [> 'a Html_types.ins ]) star
val img : src:Xml.uri Lwd.t -> alt:string Lwd.t -> ([< Html_types.img_attrib ], [> Html_types.img ]) nullary
val object_ : ?params:[< Html_types.param ] elt list -> ([< Html_types.object__attrib ], 'a, [> `Object of 'a ]) star
val audio : ?src:Xml.uri Lwd.t -> ?srcs:[< Html_types.source ] elt list -> ([< Html_types.audio_attrib ], 'a, [> 'a Html_types.audio ]) star
val video : ?src:Xml.uri Lwd.t -> ?srcs:[< Html_types.source ] elt list -> ([< Html_types.video_attrib ], 'a, [> 'a Html_types.video ]) star
val canvas : ([< Html_types.canvas_attrib ], 'a, [> 'a Html_types.canvas ]) star
val area : alt:string Lwd.t -> ([< `Accesskey | `Alt | `Aria | `Class | `Contenteditable | `Contextmenu | `Coords | `Dir | `Draggable | `Hidden | `Hreflang | `Id | `Lang | `Media | `Mime_type | `OnAbort | `OnBlur | `OnCanPlay | `OnCanPlayThrough | `OnChange | `OnClick | `OnContextMenu | `OnDblClick | `OnDrag | `OnDragEnd | `OnDragEnter | `OnDragLeave | `OnDragOver | `OnDragStart | `OnDrop | `OnDurationChange | `OnEmptied | `OnEnded | `OnError | `OnFocus | `OnFormChange | `OnFormInput | `OnInput | `OnInvalid | `OnKeyDown | `OnKeyPress | `OnKeyUp | `OnLoad | `OnLoadStart | `OnLoadedData | `OnLoadedMetaData | `OnMouseDown | `OnMouseMove | `OnMouseOut | `OnMouseOver | `OnMouseUp | `OnMouseWheel | `OnPause | `OnPlay | `OnPlaying | `OnProgress | `OnRateChange | `OnReadyStateChange | `OnScroll | `OnSeeked | `OnSeeking | `OnSelect | `OnShow | `OnStalled | `OnSubmit | `OnSuspend | `OnTimeUpdate | `OnTouchCancel | `OnTouchEnd | `OnTouchMove | `OnTouchStart | `OnVolumeChange | `OnWaiting | `Rel | `Role | `Shape | `Spellcheck | `Style_Attr | `Tabindex | `Target | `Title | `User_data | `XML_lang | `XMLns ], [> Html_types.area ]) nullary
val map : ([< Html_types.map_attrib ], 'a, [> 'a Html_types.map ]) star
val table : ?caption:[< Html_types.caption ] elt -> ?columns:[< Html_types.colgroup ] elt list -> ?thead:[< Html_types.thead ] elt -> ?tfoot:[< Html_types.tfoot ] elt -> ([< Html_types.table_attrib ], [< Html_types.table_content_fun ], [> Html_types.table ]) star
val tablex : ?caption:[< Html_types.caption ] elt -> ?columns:[< Html_types.colgroup ] elt list -> ?thead:[< Html_types.thead ] elt -> ?tfoot:[< Html_types.tfoot ] elt -> ([< Html_types.tablex_attrib ], [< Html_types.tablex_content_fun ], [> Html_types.tablex ]) star
val datalist : ?children: [< `Options of [< Html_types.selectoption ] elt list | `Phras of [< Html_types.phrasing ] elt list ] -> ([< Html_types.datalist_attrib ], [> Html_types.datalist ]) nullary
val entity : string -> [> Html_types.txt ] elt
val space : unit -> [> Html_types.txt ] elt
val cdata : string -> [> Html_types.txt ] elt
val cdata_script : string -> [> Html_types.txt ] elt
val cdata_style : string -> [> Html_types.txt ] elt
val command : label:string Lwd.t -> ([< Html_types.command_attrib ], [> Html_types.command ]) nullary
val menu : ?children: [< `Flows of [< Html_types.flow5 ] elt list | `Lis of [< `Li of [< Html_types.common ] ] elt list ] -> ([< Html_types.menu_attrib ], [> Html_types.menu ]) nullary
OCaml

Innovation. Community. Security.