An Eureka widget that display a model. Usage:
{
BlogPost: {
views: {
model: {
index: {
widgets: [
{
type: 'model-display',
// the widget label. If "auto", display the model's title
label: "auto",
// display only the specified fields
fields: ['title', 'body', 'tags'],
// the text to display if no all the fields has no value
// (works only if `displayEmptyValue is not `true`)
emptyPlaceholderLabel: 'no informations found',
// if `true` display the field label even if there is no value
displayEmptyValue: true
// if `true` hide the labels
hideLabels: false
}
]
}
}
}
}
}
-
git clone
this repository npm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.