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
@周应平 Hope this link will help you out!!
https://medium.com/javascript-in-plain-english/using-javascript-to-create-trello-like-card-re-arrange-and-drag-and-drop-557e60125bb4
Thanks for your reply, have a good day.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.