toCSS method
- Contexts context
Returns node transformed to css code
Implementation
String toCSS(Contexts context) {
final output = Output();
genCSS(context, output);
return output.toString();
//2.3.1
// Node.prototype.toCSS = function (context) {
// var strs = [];
// this.genCSS(context, {
// add: function(chunk, fileInfo, index) {
// strs.push(chunk);
// },
// isEmpty: function () {
// return strs.length === 0;
// }
// });
// return strs.join('');
// };
}