You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems like you have to convert the ExportFormat js object into something that Sketch.export accepts. This is kinda silly because the native methods are much easier. I wish there was some more interoperability between the two.
Maybe
Sketch.export(layer,[exportFormat],output)
The problem is that Sketch.export is being used for more export options than sketch itself supports (blobs, json, etc). So I'm not entirely sure how to support both.
I think it would be super helpful if I could do this
Sketch.export(layer, output)
And the JS API would loop through all the export formats on the layer for me.
The text was updated successfully, but these errors were encountered:
Seems like you have to convert the
ExportFormat
js object into something thatSketch.export
accepts. This is kinda silly because the native methods are much easier. I wish there was some more interoperability between the two.Maybe
The problem is that
Sketch.export
is being used for more export options than sketch itself supports (blobs, json, etc). So I'm not entirely sure how to support both.I think it would be super helpful if I could do this
And the JS API would loop through all the export formats on the layer for me.
The text was updated successfully, but these errors were encountered: