I'd like set resizing options in sketch plugin.
My plugin creates a new Text element and put somewhere in artboard.
When I do this, I want to make this text element be responsible to artboard size changes.
"Pin to Edge" and "Fix Size" options are perfectly what I expected.
But I cannot find how to handle these options in script. (I read all things in sketch developer api docs...)
Is there a way to do this?
If you have any idea, please share~