I am using the Konvajs library. Am trying to put a border box around the main Stage
element, but can't seem to make it work. The CSS only apply to the <div>
and the Konva.Stage
element does not seem to have specific properties for this.
Is the only way to add line shapes on the 4 borders of the Stage Layer?
My Konva container
<div class="TSPKonvaStage" id="KonvaContainer"></div>
My Konva Declaration below
var stage = new Konva.Stage({
container: 'KonvaContainer', // id of container <div>
width: 600,
height: 180
});