export class 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)
parse(templateHtml: string)
Not Yet Documented
hasProperty(element: any, name: string) : boolean
hasProperty(element: any, name: string) : boolean
Not Yet Documented
setProperty(el: /*element*/ any, name: string, value: any)
setProperty(el: /*element*/ any, name: string, value: any)
Not Yet Documented
getProperty(el: /*element*/ any, name: string) : any
getProperty(el: /*element*/ any, name: string) : any
Not Yet Documented
invoke(el: /*element*/ any, methodName: string, args: any[]) : any
invoke(el: /*element*/ any, methodName: string, args: any[]) : any
Not Yet Documented
logError(error: any)
logError(error: any)
Not Yet Documented
log(error: any)
log(error: any)
Not Yet Documented
logGroup(error: any)
logGroup(error: any)
Not Yet Documented
logGroupEnd()
logGroupEnd()
Not Yet Documented
attrToPropMap : any
attrToPropMap : any
Not Yet Documented
query(selector: string) : any
query(selector: string) : any
Not Yet Documented
querySelector(el: any, selector: string) : HTMLElement
querySelector(el: any, selector: string) : HTMLElement
Not Yet Documented
querySelectorAll(el: any, selector: string) : any[]
querySelectorAll(el: any, selector: string) : any[]
Not Yet Documented
on(el: any, evt: any, listener: any)
on(el: any, evt: any, listener: any)
Not Yet Documented
onAndCancel(el: any, evt: any, listener: any) : Function
onAndCancel(el: any, evt: any, listener: any) : Function
Not Yet Documented
dispatchEvent(el: any, evt: any)
dispatchEvent(el: any, evt: any)
Not Yet Documented
createMouseEvent(eventType: string) : MouseEvent
createMouseEvent(eventType: string) : MouseEvent
Not Yet Documented
createEvent(eventType: any) : Event
createEvent(eventType: any) : Event
Not Yet Documented
preventDefault(evt: Event)
preventDefault(evt: Event)
Not Yet Documented
isPrevented(evt: Event) : boolean
isPrevented(evt: Event) : boolean
Not Yet Documented
getInnerHTML(el: any) : string
getInnerHTML(el: any) : string
Not Yet Documented
getOuterHTML(el: any) : string
getOuterHTML(el: any) : string
Not Yet Documented
nodeName(node: Node) : string
nodeName(node: Node) : string
Not Yet Documented
nodeValue(node: Node) : string
nodeValue(node: Node) : string
Not Yet Documented
type(node: HTMLInputElement) : string
type(node: HTMLInputElement) : string
Not Yet Documented
content(node: Node) : Node
content(node: Node) : Node
Not Yet Documented
firstChild(el: any) : Node
firstChild(el: any) : Node
Not Yet Documented
nextSibling(el: any) : Node
nextSibling(el: any) : Node
Not Yet Documented
parentElement(el: any) : Node
parentElement(el: any) : Node
Not Yet Documented
childNodes(el: any) : Node[]
childNodes(el: any) : Node[]
Not Yet Documented
childNodesAsList(el: any) : any[]
childNodesAsList(el: any) : any[]
Not Yet Documented
clearNodes(el: any)
clearNodes(el: any)
Not Yet Documented
appendChild(el: any, node: any)
appendChild(el: any, node: any)
Not Yet Documented
removeChild(el: any, node: any)
removeChild(el: any, node: any)
Not Yet Documented
replaceChild(el: Node, newChild: any, oldChild: any)
replaceChild(el: Node, newChild: any, oldChild: any)
Not Yet Documented
remove(node: any) : Node
remove(node: any) : Node
Not Yet Documented
insertBefore(el: any, node: any)
insertBefore(el: any, node: any)
Not Yet Documented
insertAllBefore(el: any, nodes: any)
insertAllBefore(el: any, nodes: any)
Not Yet Documented
insertAfter(el: any, node: any)
insertAfter(el: any, node: any)
Not Yet Documented
setInnerHTML(el: any, value: any)
setInnerHTML(el: any, value: any)
Not Yet Documented
getText(el: any) : string
getText(el: any) : string
Not Yet Documented
setText(el: any, value: string)
setText(el: any, value: string)
Not Yet Documented
getValue(el: any) : string
getValue(el: any) : string
Not Yet Documented
setValue(el: any, value: string)
setValue(el: any, value: string)
Not Yet Documented
getChecked(el: any) : boolean
getChecked(el: any) : boolean
Not Yet Documented
setChecked(el: any, value: boolean)
setChecked(el: any, value: boolean)
Not Yet Documented
createComment(text: string) : Comment
createComment(text: string) : Comment
Not Yet Documented
createTemplate(html: any) : HTMLElement
createTemplate(html: any) : HTMLElement
Not Yet Documented
createElement(tagName: any, doc?: any) : HTMLElement
createElement(tagName: any, doc?: any) : HTMLElement
Not Yet Documented
createElementNS(ns: any, tagName: any, doc?: any) : Element
createElementNS(ns: any, tagName: any, doc?: any) : Element
Not Yet Documented
createTextNode(text: string, doc?: any) : Text
createTextNode(text: string, doc?: any) : Text
Not Yet Documented
createScriptTag(attrName: string, attrValue: string, doc?: any) : HTMLScriptElement
createScriptTag(attrName: string, attrValue: string, doc?: any) : HTMLScriptElement
Not Yet Documented
createStyleElement(css: string, doc?: any) : HTMLStyleElement
createStyleElement(css: string, doc?: any) : HTMLStyleElement
Not Yet Documented
createShadowRoot(el: HTMLElement) : DocumentFragment
createShadowRoot(el: HTMLElement) : DocumentFragment
Not Yet Documented
getShadowRoot(el: HTMLElement) : DocumentFragment
getShadowRoot(el: HTMLElement) : DocumentFragment
Not Yet Documented
getHost(el: HTMLElement) : HTMLElement
getHost(el: HTMLElement) : HTMLElement
Not Yet Documented
clone(node: Node) : Node
clone(node: Node) : Node
Not Yet Documented
getElementsByClassName(element: any, name: string) : HTMLElement[]
getElementsByClassName(element: any, name: string) : HTMLElement[]
Not Yet Documented
getElementsByTagName(element: any, name: string) : HTMLElement[]
getElementsByTagName(element: any, name: string) : HTMLElement[]
Not Yet Documented
classList(element: any) : any[]
classList(element: any) : any[]
Not Yet Documented
addClass(element: any, className: string)
addClass(element: any, className: string)
Not Yet Documented
removeClass(element: any, className: string)
removeClass(element: any, className: string)
Not Yet Documented
hasClass(element: any, className: string) : boolean
hasClass(element: any, className: string) : boolean
Not Yet Documented
setStyle(element: any, styleName: string, styleValue: string)
setStyle(element: any, styleName: string, styleValue: string)
Not Yet Documented
removeStyle(element: any, stylename: string)
removeStyle(element: any, stylename: string)
Not Yet Documented
getStyle(element: any, stylename: string) : string
getStyle(element: any, stylename: string) : string
Not Yet Documented
hasStyle(element: any, styleName: string, styleValue?: string) : boolean
hasStyle(element: any, styleName: string, styleValue?: string) : boolean
Not Yet Documented
tagName(element: any) : string
tagName(element: any) : string
Not Yet Documented
attributeMap(element: any) : Map<string, string>
attributeMap(element: any) : Map<string, string>
Not Yet Documented
hasAttribute(element: any, attribute: string) : boolean
hasAttribute(element: any, attribute: string) : boolean
Not Yet Documented
getAttribute(element: any, attribute: string) : string
getAttribute(element: any, attribute: string) : string
Not Yet Documented
setAttribute(element: any, name: string, value: string)
setAttribute(element: any, name: string, value: string)
Not Yet Documented
setAttributeNS(element: any, ns: string, name: string, value: string)
setAttributeNS(element: any, ns: string, name: string, value: string)
Not Yet Documented
removeAttribute(element: any, attribute: string)
removeAttribute(element: any, attribute: string)
Not Yet Documented
templateAwareRoot(el: any) : any
templateAwareRoot(el: any) : any
Not Yet Documented
createHtmlDocument() : HTMLDocument
createHtmlDocument() : HTMLDocument
Not Yet Documented
defaultDoc() : HTMLDocument
defaultDoc() : HTMLDocument
Not Yet Documented
getBoundingClientRect(el: any) : any
getBoundingClientRect(el: any) : any
Not Yet Documented
getTitle() : string
getTitle() : string
Not Yet Documented
setTitle(newTitle: string)
setTitle(newTitle: string)
Not Yet Documented
elementMatches(n: any, selector: string) : boolean
elementMatches(n: any, selector: string) : boolean
Not Yet Documented
isTemplateElement(el: any) : boolean
isTemplateElement(el: any) : boolean
Not Yet Documented
isTextNode(node: Node) : boolean
isTextNode(node: Node) : boolean
Not Yet Documented
isCommentNode(node: Node) : boolean
isCommentNode(node: Node) : boolean
Not Yet Documented
isElementNode(node: Node) : boolean
isElementNode(node: Node) : boolean
Not Yet Documented
hasShadowRoot(node: any) : boolean
hasShadowRoot(node: any) : boolean
Not Yet Documented
isShadowRoot(node: any) : boolean
isShadowRoot(node: any) : boolean
Not Yet Documented
importIntoDoc(node: Node) : any
importIntoDoc(node: Node) : any
Not Yet Documented
adoptNode(node: Node) : any
adoptNode(node: Node) : any
Not Yet Documented
getHref(el: Element) : string
getHref(el: Element) : string
Not Yet Documented
getEventKey(event: any) : string
getEventKey(event: any) : string
Not Yet Documented
getGlobalEventTarget(target: string) : EventTarget
getGlobalEventTarget(target: string) : EventTarget
Not Yet Documented
getHistory() : History
getHistory() : History
Not Yet Documented
getLocation() : Location
getLocation() : Location
Not Yet Documented
getBaseHref() : string
getBaseHref() : string
Not Yet Documented
resetBaseElement() : void
resetBaseElement() : void
Not Yet Documented
getUserAgent() : string
getUserAgent() : string
Not Yet Documented
setData(element: any, name: string, value: string)
setData(element: any, name: string, value: string)
Not Yet Documented
getData(element: any, name: string) : string
getData(element: any, name: string) : string
Not Yet Documented
getComputedStyle(element: any) : any
getComputedStyle(element: any) : any
Not Yet Documented
setGlobalVar(path: string, value: any)
setGlobalVar(path: string, value: any)
Not Yet Documented
requestAnimationFrame(callback: any) : number
requestAnimationFrame(callback: any) : number
Not Yet Documented
cancelAnimationFrame(id: number)
cancelAnimationFrame(id: number)
Not Yet Documented
performanceNow() : number
performanceNow() : number
Not Yet Documented