Home Manual Reference Source Test

References

component

summary
public

Utility methods of Web Component

public

Base class for Form field components

public

F at(selector: String): Function

public

Decorator for Property getter which returns Data URI

public

Register a component

public

Decorator for attributeChangedCallback() method

public

Decorator for observedAttributes getter

public

F on(type: String, selector: String): Function

public

T EventHandler: function(event: Event): *

utility

summary
public

F $(selector: string, context: Element | Document | DocumentFragment): Element[]

jQuery-like selector

public

F decodeMarkup(source: String): String

public
public

F encodeMarkup(source: String): String

public

F indexOf(node: Node, inNodes: Boolean): Number

public

F insertTo(parent: ParentNode, child: Node | String, position: Number | Node, inNodes: Boolean)

public

F insertableIndexOf(list: Node[], index: Number): Number

public

F async loadDOM(tree: Node, base: String): Node

public

F loadModule(URI: String | URL, ESM: Boolean): Promise<Event>

public

F makeNode(fragment: String | Node[]): DocumentFragment

public

F watchAttributes(element: Element, names: string[], callback: AttributeWatcher): MutationObserver

public

F bodyOf(XHR: XMLHttpRequest): String | Document | DocumentFragment | Object | Blob

public

F fetch(URI: String | URL, request: Object): Promise<XMLHttpRequest>

Enhanced fetch() with Progress handlers based on XMLHttpRequest()

public

F isXDomain(URI: string | URL): boolean

public
public

F async request(URI: string, method: string, body: String | Object | Node, headers: Object, option: Object): Object

HTTP request

public

F serialize(form: Element): String | FormData | Object

public

F delay(second: number): Promise

public

F delegate(selector: String, handler: EventHandler): Function

DOM event delegate

public

F mediaReady(context: Element | Document): Promise

public

F trigger(element: Element, event: String | Event, detail: *, bubbles: Boolean, cancelable: Boolean, composed: Boolean): Boolean

public

Iteratable decorator for Class, Method or Getter

public

F classNameOf(object: *): string

public

F decoratorOf(target: Function | Object, key: String, value: Function | Object | *, descriptor: Object): DecoratorDescriptor

public

F extend(target: Object, source: ...Object): Object

Merge own properties of two or more objects together into the first object by their descriptor

public

F getPropertyDescriptor(object: *, key: string): Object

public

F likeArray(object: *): Boolean

public

F * mapTree(node: Object, fork_key: String)

Traverse Object-tree

public

F multipleMap(list: Iterable, filter: function(item: *, index: number, list: Iterable): *): Array

Equivalent to the integration of Array's map() & filter() methods

public

F toIterable(arrayLike: Object): Iterable

public

F unique(list: Array, condition: String | Symbol | UniqueComparer): Array

public

F blobFrom(URI: String): Blob

public

F async blobOf(URI: String): Promise<Blob>

public
public
public
public
public

F async fileTypeOf(URI: String): Object

public

F parse(raw: String): Object

public

F parseHash(keyChar: String, valueChar: String, raw: String, mapper: function(key: String, value: String): Array): Object

public

F readAs(file: File, type: String, encoding: String): String | ArrayBuffer

public

F stringify(data: Object): String

public

F toDataURI(raw: String, type: String): String

public

Key for Header name, Value for Parser function

public
public

T AttributeWatcher(name: string, oldValue: string, newValue: string): Function

public
public

T UniqueComparer: function(A: *, B: *): Boolean

Return true means that A is not equal B

Directories