Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a JavaScrpt library which lets us create Trello card with JavaScript code.

周应平
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2020

such as the code:

// path to a trello JavaScript library.

<script src="path/to/trello.js"><script>

// the container of trello in my html.

<div id="trelloDiv" style="width:500px;height=500px;"></div>

<scrpit>

// create a trelloObj with domElement id and the apikey which specify my board.

var trelloObj = Trello.init("trelloDiv","trelloAPIKey");

// create a card with options.

var trelloCard=trelloObj.createCard("title",{ something here});

// add the new card to my board. then there is a new card in the target div.

trelloObj.addCard(trelloCard);

</script>

 

Thanks,

Emil

 

1 answer

1 accepted

21 votes
Answer accepted
Soumyadeep Mandal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 20, 2020
周应平
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2020

Thanks for your reply, have a good day.

Like Soumyadeep Mandal likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events