MappingTable
A table of JSKOS mappings.
Props
mappingsarray, required — the list of mappings to be displayed.fieldsarray, optional — which fields to show in which order and which width in percent. Default:["fromScheme:10", "from:22", "type:8", "toScheme:10", "to:22", "creator:16", "date:12"]fromScheme— source concept scheme (notation)from— source conceptstoScheme— target concept scheme (notation)to— target conceptstype— mapping type (symbol)date— date of modification (if given) or creation (otherwise)confidence— JSKOSmappingRelevancein percent
showLabelsboolean, defaultfalse— whether to show the concepts' labelsheaderboolean, defaulttrue— whether to show the table header
Events
hoverwhen a mapping row is hovered or unhoveredclickwhen a mapping row is clicked
CSS classes
.jskos-vue-mappingTable— the component element.jskos-vue-mappingTable-${FIELD}— table cell for each of the fields
The table is based on vue-flexible-table, so its configuration, CSS classes and variables can also be used.
Example
from
to
creator
date