-
-
Notifications
You must be signed in to change notification settings - Fork 72
Taxonomy configuration
Zack edited this page May 3, 2018
·
1 revision
With Popoto you can customize the display of the taxonomy panel
popoto.provider.taxonomy.Provider = {}
All taxonomy configuration are listed below:
Function used to return the text representation of a taxonomy.
The default behavior is to return the label without changes.
"getTextValue": function (label) {
return label;
}
"getCSSClass": function (label, element) {
var labelAsCSSName = label.replace(/[^0-9a-z\-_]/gi, '');
var cssClass = "ppt-taxo__" + element;
return cssClass + " " + labelAsCSSName;
}