joint icon indicating copy to clipboard operation
joint copied to clipboard

dia.CellView: `removeAttr()` does not remove the attribute from the root element

Open kumilingus opened this issue 6 years ago • 0 comments

element.attr('root/test', true);
element.removeAttr('root/test');
// element.findView(paper).el.getAttribute('test') === 'true';

Workaround:

element.attr('root/test', null);
// element.findView(paper).el.hasAttribute('test') === false;

kumilingus avatar Sep 07 '18 11:09 kumilingus