Created
March 17, 2016 15:26
-
-
Save a-x-/a380c1f4d5d0dc997e7a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| block('viewer-controls')( | |
| def()(function() { | |
| return applyNext({ | |
| params: this.ctx.params | |
| }); | |
| }), | |
| content()(function() { | |
| return [ | |
| { | |
| block: 'viewer-carousel', | |
| params: this.params, | |
| js: { onlyPan: this.params.onlyPan } | |
| }, | |
| this.params.customPanel, | |
| { | |
| elem: 'panel', | |
| elemMods: { error: 'yes' }, | |
| content: { | |
| elem: 'cell', | |
| content: { elem: 'error' } | |
| } | |
| }, | |
| { | |
| elem: 'panel', | |
| elemMods: { position: 'top' }, | |
| content: [ | |
| this.params.topPaneContent, | |
| { elem: 'close' } | |
| ] | |
| }, | |
| { | |
| elem: 'panel', | |
| elemMods: { position: 'bottom' }, | |
| content: [ | |
| { | |
| elem: 'cell', | |
| elemMods: { position: 'left' }, | |
| content: | |
| { | |
| elem: 'domain', | |
| initialImage: this.params.initialImage | |
| } | |
| }, | |
| { | |
| elem: 'cell', | |
| elemMods: { position: 'right' }, | |
| content: [ | |
| this.params.bottomPaneContent, | |
| { | |
| elem: 'download', | |
| initialImage: this.params.initialImage | |
| } | |
| ] | |
| }] | |
| } | |
| ]; | |
| })) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment