Home Manual Reference Source Test

References

summary
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

component

summary
public

Utility methods of Web Component

public

Base class for Form field components

public

utility

summary
public

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

jQuery-like selector

public

F $up(selector: string, context: Node): Element

public

F decodeMarkup(source: String): String

public

F delay(second: number): Promise

public

F delegate(selector: string, handler: DOMEventHandler): Function

DOM event delegate

public

F encodeMarkup(source: String): String

public

F indexOf(element: Element): number

public

F inputOf(element: HTMLElement, handler: function(event: Event, input: String): void)

public

F isHTML(DOM: *): Boolean

public

F mediaReady(context: Element | Document): Promise

public
public
public

F stringifyDOM(fragment: Node): string

public

F targetOf(event: Event): Element

public

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

public

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

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 blobOf(URI: String): Promise<Blob>

public
public

F async fileTypeOf(URI: String): Object

public

F isXDomain(URI: string | URL): boolean

public

F parse(raw: String): Object

public

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

public

F async request(URI: string, method: string, body: string | Object | Element, headers: Object, option: Object): string | Object | DocumentFragment | Blob

HTTP request

public

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

public

F stringify(data: Object): String

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

view

summary
public

View for Array model

public

View for Object model

public

String template

public

C View

Abstract View

public

T ChangedCallback(newValue: *, oldValue: *, bindData: ...*): function

Call back only on Value changed

Directories