Skip to content

Commit

Permalink
Merge pull request #2 from kadirahq/preview-methods
Browse files Browse the repository at this point in the history
Add preview panel methods
  • Loading branch information
Muhammed Thanish authored Aug 29, 2016
2 parents c295f27 + 9684b0a commit 4bb2dba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export class AddonStore {
this._loaders = {};
this._panels = {};
this._channel = null;
this._preview = null;
}

getChannel() {
Expand All @@ -13,6 +14,14 @@ export class AddonStore {
this._channel = channel;
}

getPreview() {
return this._preview;
}

setPreview(preview) {
this._preview = preview;
}

getPanels() {
return this._panels;
}
Expand Down

0 comments on commit 4bb2dba

Please sign in to comment.