1.3.0 • Published 3 years ago

visualmodule v1.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.3.0

3 years ago

1.2.9

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago