You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see [Advanced Stylesets](#FIXME) to see all available options including, importing external stylesets, using mixins, variable references and nested styles.
55
+
see [Examples](#project/jhudson8/react-css-builder/section/Examples) to see all available options including, importing external stylesets, using mixins, variable references and nested styles.
57
56
58
57
#### vars(varsObject)
59
58
****varsObject***: a hash of variables to register which will be available to styleset rules (using this.get("varName")).
@@ -96,8 +95,9 @@ css.register('my-styleset', {
96
95
});
97
96
```
98
97
99
-
### StylesetBuilder
100
-
This is the object returned when calling ```require('react-css-builder').register(...)```
98
+
99
+
### Stylesheet
100
+
This is the object returned when calling ```require('react-css-builder').register(...)
101
101
102
102
#### css(className)
103
103
****className***: return the styleset object matching the className key which can be used for associated with a React component ```style``` property.
Very much like the previously described ```css``` method but allows for additional variables and style attributes to be provided. The ```css``` method is used to return the style response.
127
127
128
-
Returns a [StyleSelector](#FIXME)
128
+
Returns a [StylesetBuilder](#project/jhudson8/react-css-builder/package/StylesetBuilder)
129
129
130
130
```
131
131
var stylesheet = require('...').register(...)
@@ -144,16 +144,16 @@ stylesheet.get('myStyle')
144
144
****mixinName***: the name of the mixin
145
145
****mixinFunction***: the mixin function which can take any number of arguments
146
146
147
-
Exactly the same as [mixin](#FIXME) except that the mixin registered will *only* be accessable to this particular stylesheet.
147
+
Exactly the same as [react-css-builder mixin](#project/jhudson8/react-css-builder/method/react-css-builder/mixin) except that the mixin registered will *only* be accessable to this particular stylesheet.
148
148
149
149
#### vars(varsObject)
150
150
****varsObject***: a hash of variables to register which will be available to styleset rules (using this.get("varName")).
151
151
152
-
Exactly the same as [vars](#FIXME) except that the provided variables will *only* be accessable to this particular stylesheet.
152
+
Exactly the same as [react-css-builder vars](l#project/jhudson8/react-css-builder/method/react-css-builder/vars) except that the provided variables will *only* be accessable to this particular stylesheet.
153
153
154
154
155
155
### StylesetBuilder
156
-
This is the object returned when calling ```get``` from a [StylesetBuilder](#FIXME). It is used to apply variables and attributes to a styleset request.
156
+
This is the object returned when calling ```get``` from a [StylesetBuilder](#project/jhudson8/react-css-builder/package/StylesetBuilder). It is used to apply variables and attributes to a styleset request.
157
157
158
158
#### attr(styleAttributes)
159
159
****styleAttributes***: Additional attributes that should be included with the attributes defined with the styleset defined by the class name.
0 commit comments