BrowserDomAdapter

export class BrowserDomAdapter

exported from angular2/platform/browser defined in angular2/src/platform/browser/browser_adapter.ts (line 54)

A DomAdapter powered by full browser DOM APIs.

Members

parse(templateHtml: string)

Not Yet Documented

hasProperty(element: any, name: string) : boolean

Not Yet Documented

setProperty(el: /*element*/ any, name: string, value: any)

Not Yet Documented

getProperty(el: /*element*/ any, name: string) : any

Not Yet Documented

invoke(el: /*element*/ any, methodName: string, args: any[]) : any

Not Yet Documented

logError(error: any)

Not Yet Documented

log(error: any)

Not Yet Documented

logGroup(error: any)

Not Yet Documented

logGroupEnd()

Not Yet Documented

attrToPropMap : any

Not Yet Documented

query(selector: string) : any

Not Yet Documented

querySelector(el: any, selector: string) : HTMLElement

Not Yet Documented

querySelectorAll(el: any, selector: string) : any[]

Not Yet Documented

on(el: any, evt: any, listener: any)

Not Yet Documented

onAndCancel(el: any, evt: any, listener: any) : Function

Not Yet Documented

dispatchEvent(el: any, evt: any)

Not Yet Documented

createMouseEvent(eventType: string) : MouseEvent

Not Yet Documented

createEvent(eventType: any) : Event

Not Yet Documented

preventDefault(evt: Event)

Not Yet Documented

isPrevented(evt: Event) : boolean

Not Yet Documented

getInnerHTML(el: any) : string

Not Yet Documented

getOuterHTML(el: any) : string

Not Yet Documented

nodeName(node: Node) : string

Not Yet Documented

nodeValue(node: Node) : string

Not Yet Documented

type(node: HTMLInputElement) : string

Not Yet Documented

content(node: Node) : Node

Not Yet Documented

firstChild(el: any) : Node

Not Yet Documented

nextSibling(el: any) : Node

Not Yet Documented

parentElement(el: any) : Node

Not Yet Documented

childNodes(el: any) : Node[]

Not Yet Documented

childNodesAsList(el: any) : any[]

Not Yet Documented

clearNodes(el: any)

Not Yet Documented

appendChild(el: any, node: any)

Not Yet Documented

removeChild(el: any, node: any)

Not Yet Documented

replaceChild(el: Node, newChild: any, oldChild: any)

Not Yet Documented

remove(node: any) : Node

Not Yet Documented

insertBefore(el: any, node: any)

Not Yet Documented

insertAllBefore(el: any, nodes: any)

Not Yet Documented

insertAfter(el: any, node: any)

Not Yet Documented

setInnerHTML(el: any, value: any)

Not Yet Documented

getText(el: any) : string

Not Yet Documented

setText(el: any, value: string)

Not Yet Documented

getValue(el: any) : string

Not Yet Documented

setValue(el: any, value: string)

Not Yet Documented

getChecked(el: any) : boolean

Not Yet Documented

setChecked(el: any, value: boolean)

Not Yet Documented

createComment(text: string) : Comment

Not Yet Documented

createTemplate(html: any) : HTMLElement

Not Yet Documented

createElement(tagName: any, doc?: any) : HTMLElement

Not Yet Documented

createElementNS(ns: any, tagName: any, doc?: any) : Element

Not Yet Documented

createTextNode(text: string, doc?: any) : Text

Not Yet Documented

createScriptTag(attrName: string, attrValue: string, doc?: any) : HTMLScriptElement

Not Yet Documented

createStyleElement(css: string, doc?: any) : HTMLStyleElement

Not Yet Documented

createShadowRoot(el: HTMLElement) : DocumentFragment

Not Yet Documented

getShadowRoot(el: HTMLElement) : DocumentFragment

Not Yet Documented

getHost(el: HTMLElement) : HTMLElement

Not Yet Documented

clone(node: Node) : Node

Not Yet Documented

getElementsByClassName(element: any, name: string) : HTMLElement[]

Not Yet Documented

getElementsByTagName(element: any, name: string) : HTMLElement[]

Not Yet Documented

classList(element: any) : any[]

Not Yet Documented

addClass(element: any, className: string)

Not Yet Documented

removeClass(element: any, className: string)

Not Yet Documented

hasClass(element: any, className: string) : boolean

Not Yet Documented

setStyle(element: any, styleName: string, styleValue: string)

Not Yet Documented

removeStyle(element: any, stylename: string)

Not Yet Documented

getStyle(element: any, stylename: string) : string

Not Yet Documented

hasStyle(element: any, styleName: string, styleValue?: string) : boolean

Not Yet Documented

tagName(element: any) : string

Not Yet Documented

attributeMap(element: any) : Map<string, string>

Not Yet Documented

hasAttribute(element: any, attribute: string) : boolean

Not Yet Documented

getAttribute(element: any, attribute: string) : string

Not Yet Documented

setAttribute(element: any, name: string, value: string)

Not Yet Documented

setAttributeNS(element: any, ns: string, name: string, value: string)

Not Yet Documented

removeAttribute(element: any, attribute: string)

Not Yet Documented

templateAwareRoot(el: any) : any

Not Yet Documented

createHtmlDocument() : HTMLDocument

Not Yet Documented

defaultDoc() : HTMLDocument

Not Yet Documented

getBoundingClientRect(el: any) : any

Not Yet Documented

getTitle() : string

Not Yet Documented

setTitle(newTitle: string)

Not Yet Documented

elementMatches(n: any, selector: string) : boolean

Not Yet Documented

isTemplateElement(el: any) : boolean

Not Yet Documented

isTextNode(node: Node) : boolean

Not Yet Documented

isCommentNode(node: Node) : boolean

Not Yet Documented

isElementNode(node: Node) : boolean

Not Yet Documented

hasShadowRoot(node: any) : boolean

Not Yet Documented

isShadowRoot(node: any) : boolean

Not Yet Documented

importIntoDoc(node: Node) : any

Not Yet Documented

adoptNode(node: Node) : any

Not Yet Documented

getHref(el: Element) : string

Not Yet Documented

getEventKey(event: any) : string

Not Yet Documented

getGlobalEventTarget(target: string) : EventTarget

Not Yet Documented

getHistory() : History

Not Yet Documented

getLocation() : Location

Not Yet Documented

getBaseHref() : string

Not Yet Documented

resetBaseElement() : void

Not Yet Documented

getUserAgent() : string

Not Yet Documented

setData(element: any, name: string, value: string)

Not Yet Documented

getData(element: any, name: string) : string

Not Yet Documented

getComputedStyle(element: any) : any

Not Yet Documented

setGlobalVar(path: string, value: any)

Not Yet Documented

requestAnimationFrame(callback: any) : number

Not Yet Documented

cancelAnimationFrame(id: number)

Not Yet Documented

performanceNow() : number

Not Yet Documented