API: id of shape created via createShape
Hi,
is there an easy way to get the id of a shape added to the editor via api('createShape',...)?
My current workaround is to get all ids from the project source json before and after calling the api and subtracting them from each other.
I'd suggest that api('createShape',...) could just return the ids of the shapes created, if I didn't miss anything. At the moment it returns nothing...
Feature Requests
Sign In Or Register Comment after
No comments yet. Be the first to comment!