Merge pull request #6332 from laco0416/polymer-1.1.5

Update polymer.d.ts to ver.1.1.5
This commit is contained in:
Masahiro Wakame
2015-10-21 22:04:19 +09:00

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;