package tyxml-lwd

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tyxml_lwd.HtmlSource

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