Last active
March 23, 2018 19:20
-
-
Save dhindurthy/1a67d6345ac76c77a2f733cc252508c3 to your computer and use it in GitHub Desktop.
skeleton-loading
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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
queryParams: ['appName'], | |
appName: 'Anmals' | |
}); |
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 Ember from 'ember'; | |
const { | |
run: { later }, | |
RSVP: { Promise } | |
} = Ember; | |
export default Ember.Route.extend({ | |
queryParams: { | |
appName: { refreshModel: true } | |
}, | |
model() { | |
return new Promise((resolve, reject) => { | |
later(null, resolve, 7000); | |
}); | |
} | |
}); |
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
body { | |
margin: 12px 16px; | |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
font-size: 12pt; | |
} | |
img{ | |
margin-right:10px; | |
} | |
.app-name{ | |
//border:1px solid black; | |
background-color:#E7E4E4; | |
width:30%; | |
height:20px; | |
} | |
.category{ | |
display:flex; | |
} | |
.image { | |
//border:1px solid black; | |
background-color:#E7E4E4; | |
width:30px; | |
height:30px; | |
margin-right:10px; | |
} | |
.category-name{ | |
//border:1px solid black; | |
background-color:#E7E4E4; | |
width:20%; | |
height:15px; | |
} | |
.item{ | |
//border:1px solid black; | |
background-color:#E7E4E4; | |
width:10%; | |
height:10px; | |
margin:3px; | |
} |
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
{ | |
"version": "0.13.0", | |
"EmberENV": { | |
"FEATURES": {} | |
}, | |
"options": { | |
"use_pods": false, | |
"enable-testing": false | |
}, | |
"dependencies": { | |
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js", | |
"ember": "2.16.2", | |
"ember-template-compiler": "2.16.2", | |
"ember-testing": "2.16.2" | |
}, | |
"addons": { | |
"ember-data": "2.16.3" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment