Skip to content

Commit cb94979

Browse files
authored
feat(route-namespace): added documentation about an individual controllers styleNamespace property
1 parent 114fe3b commit cb94979

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ To be able to use this for routes, you need to add a wrapping `div` around the o
103103

104104
After that it's quite easy: add a style file in your route directory alongside your `route.js` or `template.hbs` files.
105105

106+
An individual controller also has access to a `styleNamespace` property that is the namespace for a given route. This can be used for various use cases. (like enabling BEM style similar to how the `componentCssClassName` is used in a component)
107+
106108
### Usage with classic (non pod) structure
107109

108110
You can use classic Ember app structure by placing component styles in

0 commit comments

Comments
 (0)