feat(live): progress on panel <-> data source communication patterns

This commit is contained in:
Torkel Ödegaard
2016-03-22 18:21:21 +01:00
parent d0564933a2
commit 8dee54bf5d
10 changed files with 99 additions and 49 deletions

View File

@@ -29,11 +29,9 @@ export class TextPanelCtrl extends PanelCtrl {
this.editorTabIndex = 1;
}
refresh() {
this.render();
}
render() {
super.render();
if (this.panel.mode === 'markdown') {
this.renderMarkdown(this.panel.content);
} else if (this.panel.mode === 'html') {