Created
March 13, 2017 20:21
-
-
Save green3g/b0af5494ee2e75fd70c2f54640e50cc5 to your computer and use it in GitHub Desktop.
can-component programmatic
This file contains 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
import paginate from 'spectre-canjs/paginate-widget/'; | |
import scope from 'can-view-scope'; | |
new paginate(document.body, { | |
scope: new scope({ | |
pages: 2 | |
}), | |
options: new scope({ | |
}), | |
subTemplate: '' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment