I am trying to build up a flowchart using Cytoscape.js. Can anyone tell me how to set 'background-image' from a local file system path?
Thanks in advance. Kejal
This issue gets resolved in ReactJS by importing image reference instead of adding path like C: est.jpg, we need to add it like:
C: est.jpg
import test from './test.jpg' .selector('.option') .css({ 'background-image': test; })
1.4m articles
1.4m replys
5 comments
57.0k users