import { SIMPLE_EMBEDDABLE , SimpleEmbeddableInput } from '.' ; import { Embeddable , IContainer } from '../../../../src/plugins/embeddable/public' ; export class SimpleEmbeddable extends Embeddable < SimpleEmbeddableInput > { public readonly type = SIMPLE_EMBEDDABLE ; constructor ( initialInput , parent ? ) { super ( initialInput , { } , parent ) ; } param node public render ( node ) { const input = this . getInput ( ) ; node . innerHTML = `<div data-test-subj="simpleEmbeddable">${ input . title } ${ input . value }</div>` ; } /**
     * This is mostly relevant for time based embeddables which need to update data
     * even if EmbeddableInput has not changed at all.
     */ public reload ( ) { } }