File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 22[ ![ Coverage Status] ( https://coveralls.io/repos/rijs/features/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/rijs/features?branch=master )
33[ ![ Build Status] ( https://travis-ci.org/rijs/features.svg )] ( https://travis-ci.org/rijs/features )
44
5+ Extends the [ rendering pipeline] ( ) to enhance a component with other features (mixins).
6+
57Extend components with features
68
79``` html
@@ -19,4 +21,14 @@ ripple('feature', function(){ this.innerHTML += 'bar' } )
1921<base-component is =" feature" >foobar<base-component >
2022```
2123
22- Features may also contribute and mixin their own styles (just specify a [ needs header] ( https://github.com/rijs/needs ) ).
24+ This pattern is the same as:
25+
26+ ``` js
27+ d3 .select (element)
28+ .call (component)
29+ .call (feature1)
30+ .call (feature2)
31+ .call (feature3)
32+ ```
33+
34+ Features may also contribute and mixin their own styles (just extend ` css ` attribute).
You can’t perform that action at this time.
0 commit comments