Update polymer.d.ts to ver.1.1.5

This commit is contained in:
laco0416 2015-10-17 15:32:34 +09:00
parent af5b8275d1
commit 3976cd4f1b

View File

@ -1,4 +1,4 @@
// Type definitions for polymer v1.1.2
// Type definitions for polymer v1.1.5
// Project: https://github.com/Polymer/polymer
// Definitions by: Louis Grignon <https://github.com/lgrignon>, Suguru Inatomi <https://github.com/laco0416>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@ -161,7 +161,7 @@ declare module polymer {
getContentChildren?(selector: string): HTMLElement[];
fire?(type: string, detail?: Object, options?: Object): CustomEvent;
fire?(type: string, detail?: any, options?: Object): CustomEvent;
async?(callback: ()=>void, waitTime?: number): number;
@ -177,6 +177,10 @@ declare module polymer {
create?(tag: string, props: Object): Element;
isLightDescendant?(node: HTMLElement): boolean;
isLocalDescendant?(node: HTMLElement): boolean
// XStyling
updateStyles?(): void;