Skip to content

Instantly share code, notes, and snippets.

Created Dec 21, 2015
What would you like to do?
import Ember from 'ember';
import HomeVM from 'esri/widgets/Home/HomeViewModel';
export default Ember.Component.extend({
classNames: ['home', 'action'],
vm: null,
createHome: function() {
let view = this.get('view');
let vm = new HomeVM({ view });
this.set('vm', vm);
actions: {
enable() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment