有没有办法通过引用SASS中的另一个函数或mixin来传递一个函数或一个mixin,然后调用引用的函数或mixin?
例如:
@function foo($value) {
@return $value;
}
@mixin bob($fn: null) {
a {
b: $fn(c); // is there a way to call a referenced function here?
}
}
@include bob(foo); // is there any way I can pass the function "foo" here?