UNPKG

@fleetbase/ember-ui

Version:

Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.

28 lines (22 loc) 541 B
import Component from '@glimmer/component'; import { action } from '@ember/object'; import { inject as service } from '@ember/service'; export default class DocsPanelComponent extends Component { @service docsPanel; @action close() { this.docsPanel.close(); } @action markIframeFailed() { this.docsPanel.markIframeFailed(); } @action markIframeLoaded() { this.docsPanel.markIframeLoaded(); } @action openExternal() { this.docsPanel.openExternal(); } }