Part 1: Understanding plugin basics
Part 2: Creating a "button frame" plugin
- Adobe XD API Reference
- Finished code from this part
Codapi: https://github.com/nalgeon/codapi |
Common room: https://www.commonroom.io/ | |
Orbit: https://orbit.love/ | |
reo.dev |
Pronovix: https://pronovix.com/ | |
APImatic: https://www.apimatic.io | |
Apiable: https://www.apiable.io/ | |
Readme: https://readme.com/ | |
Moesif: https://www.moesif.com/solutions/developer-portal | |
Fern: https://www.buildwithfern.com/ | |
Developer Hub: https://developerhub.io/ | |
Theneo: https://www.theneo.io/ | |
Mintlify: https://mintlify.com |
Coast: https://www.trycoast.com/ | |
APIMatic: https://www.apimatic.io/ | |
Fern: https://www.buildwithfern.com/ | |
Kiota: https://github.com/microsoft/kiota | |
SDKgen: https://sdkgen.app/ | |
Sideko: https://www.sideko.dev/ | |
Liblab: https://liblab.com | |
Speakeasy: https://www.speakeasyapi.dev/ | |
Stainless: https://www.stainlessapi.com |
Part 1: Understanding plugin basics
Part 2: Creating a "button frame" plugin
#!/bin/bash | |
if [ -n "$ZSH_VERSION" ] | |
then | |
echo "zsh detected. What a nice shell you have!" | |
else | |
echo "zsh is required. Sorry about that..." | |
echo "" | |
exit 1 | |
fi |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
var obj = {name: "Ash", place: "Osaka"}; | |
obj.valueOf = function() {return this.name}; // valueOf will return whatever is assigned it to be the object's soft value. | |
obj.valueOf(); // this is how you could call it. | |
obj == "Ash" // Soft comparison resolves to true. | |
obj === "Ash" // Strict comparison resolves to false. |
function bubbleSort(array) { | |
if (array.length === 1) { | |
return array; | |
} | |
//loop through array | |
for (var i = 0; i < array.length; i++) { | |
if(array[i] > array[i + 1]) { | |
var x = array[i]; |
describe('Bubble Sort', function(){ | |
it('handles an empty array', function(){ | |
expect( bubbleSort([]) ).toEqual( [] ); | |
}); | |
it('handles a single item', function(){ | |
expect( bubbleSort([1]) ).toEqual( [1] ); | |
}); | |
it('handles two out-of-order items', function(){ | |
expect( bubbleSort([2, 1]) ).toEqual( [1, 2] ); | |
}); |