declare module HTML {
type Renderable = RawValue |
import('rxjs').Observable |
import('@connectv/core').PinLike;
type EventHandler = string | EventListener |
import('rxjs').Subject |
import('@connectv/core').PinLike;
interface Attributes {
/**Specifies a shortcut key to activate/focus an element*/
accesskey?: Renderable;
/**Specifies one or more classnames for an element (refers to a class in a style sheet) */
class?: Renderable;
/**Specifies whether the content of an element is editable or not */
contenteditable?: Renderable;
/**Specifies the text direction for the content in an element */
dir?: Renderable;
/**Specifies whether an element is draggable or not */
draggable?: Renderable;
/**Specifies whether the dragged data is copied, moved, or linked, when dropped */
dropzone?: Renderable;
/**Specifies that an element is not yet, or is no longer, relevant */
hidden?: Renderable;
/**Specifies a unique id for an element */
id?: Renderable;
/**Specifies the language of the element's content */
lang?: Renderable;
/**Specifies whether the element is to have its spelling and grammar checked or not */
spellcheck?: Renderable;
/**Specifies an inline CSS style for an element */
style?: Renderable;
/**Specifies the tabbing order of an element */
tabindex?: Renderable;
/**Specifies extra information about an element */
title?: Renderable;
/**Specifies whether the content of an element should be translated or not */
translate?: Renderable;
/**Script to be run when the element loses focus */
onblur?: EventHandler;
/**Script to be run when the value of the element is changed */
onchange?: EventHandler;
/**Script to be run when the element is being clicked */
onclick?: EventHandler;
/**Script to be run when a context menu is triggered */
oncontextmenu?: EventHandler;
/**Script to be run when the content of the element is being copied */
oncopy?: EventHandler;
/**Script to be run when the content of the element is being cut */
oncut?: EventHandler;
/**Script to be run when the element is being double-clicked */
ondblclick?: EventHandler;
/**Script to be run when the element is being dragged */
ondrag?: EventHandler;
/**Script to be run at the end of a drag operation */
ondragend?: EventHandler;
/**Script to be run when an element has been dragged to a valid drop target */
ondragenter?: EventHandler;
/**Script to be run when an element leaves a valid drop target */
ondragleave?: EventHandler;
/**Script to be run when an element is being dragged over a valid drop target */
ondragover?: EventHandler;
/**Script to be run at the start of a drag operation */
ondragstart?: EventHandler;
/**Script to be run when dragged element is being dropped */
ondrop?: EventHandler;
/**Script to be run when the element gets focus */
onfocus?: EventHandler;
/**Script to be run when the element gets user input */
oninput?: EventHandler;
/**Script to be run when the element is invalid */
oninvalid?: EventHandler;
/**Script to be run when a user is pressing a key */
onkeydown?: EventHandler;
/**Script to be run when a user presses a key */
onkeypress?: EventHandler;
/**Script to be run when a user releases a key */
onkeyup?: EventHandler;
/**Script to be run when a mouse button is pressed down on an element */
onmousedown?: EventHandler;
/**Script to be run as long as the mouse pointer is moving over an element */
onmousemove?: EventHandler;
/**Script to be run when a mouse pointer moves out of an element */
onmouseout?: EventHandler;
/**Script to be run when a mouse pointer moves onto an element */
onmouseenter?: EventHandler;
/**Script to be run when a mouse pointer is moved out of an element */
onmouseleave?: EventHandler;
/**Script to be run when a mouse pointer moves over an element */
onmouseover?: EventHandler;
/**Script to be run when a mouse button is released over an element */
onmouseup?: EventHandler;
/**Script to be run when a mouse wheel is being scrolled over an element */
onmousewheel?: EventHandler;
/**Script to be run when the user pastes some content in an element */
onpaste?: EventHandler;
/**Script to be run when an element's scrollbar is being scrolled */
onscroll?: EventHandler;
/**Script to be run when the element gets selected */
onselect?: EventHandler;
/**Script to be run when the mouse wheel rolls up or down over an element */
onwheel?: EventHandler;
}
interface MetaAttributes extends Attributes {
/**Specifies the character encoding for the HTML document */
charset?: Renderable;
/**Gives the value associated with the http-equiv or name attribute */
content?: Renderable;
/**Provides an HTTP header for the information/value of the content attribute */
'http-equiv'?: Renderable;
/**Specifies a name for the metadata */
name?: Renderable;
/**Specifies a special property */
property?: Renderable;
}
interface ImgAttributes extends Attributes {
/**Specifies an alternate text when the original element fails to display */
alt?: Renderable;
/**Specifies the height of the element */
height?: Renderable;
/**Specifies an image as a server-side image-map */
ismap?: Renderable;
/**Specifies the size of the linked resource */
sizes?: Renderable;
/**Specifies the URL of the media file */
src?: Renderable;
/**Specifies the URL of the image to use in different situations */
srcset?: Renderable;
/**Specifies an image as a client-side image-map */
usemap?: Renderable;
/**Specifies the width of the element */
width?: Renderable;
/**Script to be run on abort */
onabort?: EventHandler;
/**Script to be run when an error occurs */
onerror?: EventHandler;
/**Script to be run when the element is finished loading */
onload?: EventHandler;
}
interface AAttributes extends Attributes {
/**Specifies that the target will be downloaded when a user clicks on the hyperlink */
download?: Renderable;
/**Specifies the URL of the page the link goes to */
href?: Renderable;
/**Specifies the language of the linked document */
hreflang?: Renderable;
/**Specifies what media/device the linked document is optimized for */
media?: Renderable;
/**Specifies the relationship between the current document and the linked document */
rel?: Renderable;
/**Specifies the target for where to open the linked document or where to submit the form */
target?: Renderable;
/**Specifies the type of element */
type?: Renderable;
}
interface InputAttributes extends Attributes {
/** Specifies the types of files that the server accepts (only for type="file") */
accept?: Renderable;
/**Specifies an alternate text when the original element fails to display */
alt?: Renderable;
/**Specifies whether the