mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-30 17:04:20 +08:00
Update polymer.d.ts to ver.1.1.5
This commit is contained in:
8
polymer/polymer.d.ts
vendored
8
polymer/polymer.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user