Last active
August 6, 2018 05:45
-
-
Save imaustink/186c692ff97dea23303a55c74e20b9f7 to your computer and use it in GitHub Desktop.
A demo of a CanJS component
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
import Component from 'can-component' | |
import DefineMap from 'can-define/map/' | |
import view from './user-media-selector.stache' | |
import './user-media-selector.less' | |
export const ViewModel = DefineMap.extend({ | |
}) | |
export default Component.extend({ | |
tag: 'user-media-selector', | |
ViewModel, | |
view | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment