itemStyleFunc method
Sets the item style function. Use this for conditional styling.
This mirrors lipgloss v2 ItemStyleFunc.
Implementation
Tree itemStyleFunc(TreeNodeStyleFunc fn) {
_ensureRenderer().style.itemStyle = fn;
return this;
}
Sets the item style function. Use this for conditional styling.
This mirrors lipgloss v2 ItemStyleFunc.
Tree itemStyleFunc(TreeNodeStyleFunc fn) {
_ensureRenderer().style.itemStyle = fn;
return this;
}