adobe-xd

Can you use ES2015+ features (ES6) in Adobe XD plugins?

≯℡__Kan透↙ 提交于 2021-02-10 13:33:09
问题 I'm building a plugin in Adobe XD. Can I use ES2015+ (ES6) features? For example, template literals, let , const , Arrow functions, asynchronous functions ( async / await )? 回答1: XD plugin APIs support most of ES2015 and beyond. You can use features such as: Template literals Classes Block-scoped variables ( let , const ) Object destructuring Default parameters Spread and Rest ( ... ) Arrow functions Asynchronous functions ( async / await ) Promises You can also use ES5 JavaScript features as

Convert HTML / CSS from Adobe XD

ε祈祈猫儿з 提交于 2020-01-11 08:52:11
问题 just downloaded the Adobe XD and i think i am going to love it. I just have a problem Exporting it from Adobe XD into HTML / JS / CSS and port it to my code in Visual Studio, so i can do WebForm. How is this possible. 回答1: Natively, you can't (yet), although some external plugins can help you achieve that. Adobe XD is a prototyping tool, ie it has been designed for producing the designs of websites and app before passing it to a developer that will "manually" build the HTML/CSS/JS out of it.