Skip to content

Commit

Permalink
feat(createViewer): Add getViewProxy
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Jul 25, 2018
1 parent 14e8a9e commit f3865a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/createViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ const createViewer = (
return view.captureImage();
}

publicAPI.getViewProxy = () => {
return view;
}

console.log(publicAPI);

//publicAPI.saveState = () => {
Expand Down

0 comments on commit f3865a3

Please sign in to comment.