Options
All
  • Public
  • Public/Protected
  • All
Menu

Base element to the application tools panel.

Include the style for the header.

Example:

   import {html, css} from 'lit';
import {customElement} from 'lit/decorators.js';

// @ts-ignore
@customElement('my-panel')
export default class MyToolPanel extent (window as any).gmfapi.elements.ToolPanelElement {
static styles = [
...(window as any).gmfapi.elements.ToolPanelElement.styles,
css`...`
];

render(): TemplateResult {
return html`${this.getTitle(i18next.t('Title'))}
your template`
}
}

Hierarchy

Index

Constructors

Properties

bootstrapStyle: CSSResult = ...
bootstrapVarStyle: CSSResult = ...
commonStyle: CSSResult = ...
fontawesomeStyle: CSSResult = ...
resetStyle: CSSResult = ...
styles: CSSResult[] = ...

Methods

  • connectedCallback(): void
  • disconnectedCallback(): void
  • getTitle(panelName: string): TemplateResult<ResultType>
  • mozRequestFullScreen(): Promise<void>
  • mozRequestFullScreenWithKeys(): Promise<void>
  • msRequestFullscreen(): Promise<void>
  • webkitRequestFullscreen(allowKeyboardInput?: number): Promise<void>

Generated using TypeDoc