Skip to content

Instantly share code, notes, and snippets.

Last active Aug 5, 2017
What would you like to do?
$(function() {
var controller = {
__name: 'PageController',
artboardViewerController: h5.ui.components.artboard.controller.ArtboardViewerController,
magnifierController: h5.ui.components.artboard.controller.MagnifierController,
'.setScale click': function() {
var scale = this.$find('[name="scale"]').val();
h5.core.controller('body', controller);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment