AggCSS aggregates css properties
(agg *map[string]any, css map[string]any)
| 346 | |
| 347 | // AggCSS aggregates css properties |
| 348 | func AggCSS(agg *map[string]any, css map[string]any) { |
| 349 | if *agg == nil { |
| 350 | *agg = make(map[string]any) |
| 351 | } |
| 352 | maps.Copy(*agg, css) |
| 353 | } |
| 354 | |
| 355 | // ApplyCSS applies css styles to given node, |
| 356 | // using key to select sub-properties from overall properties list |