webdash-readme-preview
Version:
Preview your README.md straight from the dashboard
41 lines (37 loc) • 1.21 kB
TypeScript
/**
* 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):
* url-bar.html
*/
/// <reference path="../polymer/types/polymer.d.ts" />
/// <reference path="../iron-location/iron-location.d.ts" />
/// <reference path="../font-roboto/roboto.d.ts" />
/**
* `url-bar` is a helper element that displays a simple read-only URL bar if
* and only if the page is in an iframe. In this way we can demo elements that
* deal with the URL in our iframe-based demo environments.
*
* If the page is not in an iframe, the url-bar element is not displayed.
*
* ### Styling
*
* The following custom properties and mixins are available for styling:
*
* Custom property | Description | Default
* ----------------|-------------|----------
* `--url-bar` | Mixin applied to the entire element | `{}`
*/
interface UrlBarElement extends Polymer.Element {
readonly url: string|null|undefined;
inIframe: boolean|null|undefined;
path: string|null|undefined;
query: string|null|undefined;
hash: string|null|undefined;
}
interface HTMLElementTagNameMap {
"url-bar": UrlBarElement;
}