-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TypeScript declarations to iron-label. (#22)
* Generate minimal package.json from bower.json * Update and/or configure type declarations.
- Loading branch information
Showing
5 changed files
with
1,035 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
bower_components* | ||
bower-*.json | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/** | ||
* DO NOT EDIT | ||
* | ||
* This file was automatically generated by | ||
* https://github.com/Polymer/gen-typescript-declarations | ||
* | ||
* To modify these typings, edit the source file(s): | ||
* iron-label.html | ||
*/ | ||
|
||
/// <reference path="../polymer/types/polymer.d.ts" /> | ||
|
||
declare namespace Polymer { | ||
|
||
class IronLabel extends Polymer.Element { | ||
|
||
/** | ||
* An ID reference to another element that needs to be | ||
* labelled by this `iron-label` element. | ||
*/ | ||
for: string|null|undefined; | ||
_forElement: Element|null; | ||
attached(): void; | ||
ready(): void; | ||
|
||
/** | ||
* generate a unique id for this element | ||
*/ | ||
_generateLabelId(): void; | ||
_findTarget(): any; | ||
_tapHandler(ev: any): void; | ||
_applyLabelledBy(): void; | ||
_forChanged(): void; | ||
} | ||
} | ||
|
||
interface HTMLElementTagNameMap { | ||
"iron-label": Polymer.IronLabel; | ||
} |
Oops, something went wrong.