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

constructor

Properties

Static bootstrapStyle

bootstrapStyle: CSSResult = ...

Static bootstrapVarStyle

bootstrapVarStyle: CSSResult = ...

Static commonStyle

commonStyle: CSSResult = ...

Static fontawesomeStyle

fontawesomeStyle: CSSResult = ...

Static resetStyle

resetStyle: CSSResult = ...

Static styles

styles: CSSResult[] = ...

Methods

connectedCallback

  • connectedCallback(): void

disconnectedCallback

  • disconnectedCallback(): void

getTitle

  • getTitle(panelName: string): TemplateResult<ResultType>

mozRequestFullScreen

  • mozRequestFullScreen(): Promise<void>

mozRequestFullScreenWithKeys

  • mozRequestFullScreenWithKeys(): Promise<void>

msRequestFullscreen

  • msRequestFullscreen(): Promise<void>

webkitRequestFullscreen

  • webkitRequestFullscreen(allowKeyboardInput?: number): Promise<void>

Generated using TypeDoc