visualmodule v1.3.0
code at https://gitlab.fel.cvut.cz/svacefil/visualmodule
Visual module
Part of a semantic faceted search project. The visual’s module is responsible for displaying a faceted search, and has to have a logic module as a part of it to work. This visual module implemantation is made in React.
Go to https://gitlab.fel.cvut.cz/svacefil/bcproject to see the visual module being used to create a Semantic Vocubulary demo.
To use it, we first have to define objects Iterator and Title that are used for displaying items
let visualConfig = {
Iterator : Iterator,
Title : Title
}
Then, we have to have a logicModule that's already configured
let logicModule = new LogicModule(logicConfig)
more on that here https://gitlab.fel.cvut.cz/svacefil/logicmodule
and then you pass these parameters
React.createElement(VisualModule, {
visualConfig: visualConfig,
logicModule: logicModule
})
like this, for example
After that, you have a functioning react component, that can be readily used to display as semantic faceted search
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago