I have a question regarding KonvaJS.
I am currently working on Angular CLI with ng2-konva, which is corresponding with all KonvaJS components. Now I want to create a stage, which is draggable infinitely. This is possible by setting drag: true
in the config. But now I want to add a grid background to the stage, either dotted or line through.
I tried to troubleshoot myself, but couldn't find a way with Angular TypeScript Syntax on how to code that.
My config for the main stage:
public configBackground: Observable<any> = of ({
width: window.innerWidth,
height: window.innerHeight,
fill: "#EBEEF3",
})
Thanks in advance for your answers. If there's a duplicate, then sorry for that; feel free to share the link with me. :-)