Icons
Jedison supports multiple icons libraries
Icon Library Integration
Jedison supports multiple icon libraries which can be specified using the iconLib option:
'bootstrap-icons'
Example
const jedison = new Jedison.Create({
"iconLib": "bootstrap-icons",
"btnContents": false,
"schema": {
"title": "Hobbies",
"x-format": "table",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
},
"default": [
"Board games",
"Remote cars",
"Woodworking",
"Welding",
"Robot combat",
"Investing"
]
}
})'fontawesome6'
Example
const jedison = new Jedison.Create({
"iconLib": "fontawesome6",
"btnContents": false,
"schema": {
"title": "Hobbies",
"x-format": "table",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
},
"default": [
"Board games",
"Remote cars",
"Woodworking",
"Welding",
"Robot combat",
"Investing"
]
}
})'fontawesome5'
Example
const jedison = new Jedison.Create({
"iconLib": "fontawesome5",
"btnContents": false,
"schema": {
"title": "Hobbies",
"x-format": "table",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
},
"default": [
"Board games",
"Remote cars",
"Woodworking",
"Welding",
"Robot combat",
"Investing"
]
}
})'fontawesome4'
Example
const jedison = new Jedison.Create({
"iconLib": "fontawesome4",
"btnContents": false,
"schema": {
"title": "Hobbies",
"x-format": "table",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
},
"default": [
"Board games",
"Remote cars",
"Woodworking",
"Welding",
"Robot combat",
"Investing"
]
}
})'fontawesome3'
Example
const jedison = new Jedison.Create({
"iconLib": "fontawesome3",
"btnContents": false,
"schema": {
"title": "Hobbies",
"x-format": "table",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
},
"default": [
"Board games",
"Remote cars",
"Woodworking",
"Welding",
"Robot combat",
"Investing"
]
}
})'glyphicons' - Bootstrap 3's Glyphicons
Example
const jedison = new Jedison.Create({
"iconLib": "glyphicons",
"btnContents": false,
"schema": {
"title": "Hobbies",
"x-format": "table",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
},
"default": [
"Board games",
"Remote cars",
"Woodworking",
"Welding",
"Robot combat",
"Investing"
]
}
})