ember-upf-utils
v1.0.33
Published
The default blueprint for ember-cli addons.
Downloads
20
Keywords
Readme
Ember-upf-utils
Ember Upfluence Utilities. This repository contains a load of shared code which can be found throughout many Upfluence Software services.
Installation
git clone
this repositorynpm install
bower install
Developing
Styles are stored in app/styles
.
Components and Templates are stored in addon/components
. (Pod Structure)
Compiling
*Let's say you are working on search *
# in upfluence/ember-upf-utils
$> ember build
In upfluence/facade-web/package.json
replace :
"ember-upf-utils": "upfluence/ember-upf-utils",
by :
"ember-upf-utils": "file:../ember-upf-utils"
# In the service using it
$> npm uninstall ember-upf-utils
$> npm install ember-upf-utils
Components
Header
Generates a header. The header can be customized by using the application-header/right
, application-header/left
and application-header/center
components.
Exemple
{{#layout/application-header}}
{{#layout/application-header/right}}
<div>Some content</div>
{{/layout/application-header/right}}
{{/layout/application-header}}
Customization
| Parameter name | value |
|:--------:|--------|
| class="toto" | Applies the class toto
to the header |
| left-offset="80px" | Set an 80px wide offset on the left |