Well, you can add ID
to the element in Hype and the unique generated ID of the path is elementID_path
(basically add _path
to the element ID to get the ID of the path). So, you can use like hypeDocument.getElementById('elementID_path').style.fill='#212121';
5 Likes