/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations * * To modify these typings, edit the source file(s): * iron-doc-viewer-behavior.js */ import {flush} from '@polymer/polymer/lib/legacy/polymer.dom.js'; import {afterNextRender} from '@polymer/polymer/lib/utils/render-status.js'; export {IronDocViewerBehavior}; interface IronDocViewerBehavior { /** * The [Polymer * Analyzer](https://github.com/Polymer/polymer-analyzer)-generated element * descriptor to display details for. */ descriptor: object|null|undefined; /** * The base href where this doc viewer is located. */ baseHref: string|null|undefined; /** * Prefix for fragment identifiers used in anchors. * For static routing `iron-component-page` can * set this to a string identifying the current component. */ fragmentPrefix: string|null|undefined; /** * Whether protected members should be hidden or shown. */ _showProtected: boolean|null|undefined; /** * Whether inherited members should be hidden or shown. */ _showInherited: boolean|null|undefined; _filterMembers(items: any, showProtected: any, showInherited: any): any; _noneToShow(showProtected: any, showInherited: any, descriptor: any, name: any): any; /** * Scroll to the descriptor (element, function, etc.) with an `anchor-id` * matching the given URL hash (`#` optional). If no hash is specified, * uses `window.location.hash`. * * Whichever element or script is in charge of routing should call this * method on initial page load and on `hashchange` events. */ scrollToAnchor(hash: any): void; _getElementName(element: any): any; _getElementId(element: any): any; _getPolymerBehaviors(descriptor: any): any; /** * Compare two analysis descriptors (elements, functions, etc.) by * display name. */ _compareDescriptors(a: any, b: any): any; } declare const IronDocViewerBehavior: object;