Capabilities
Client Library
Color Theme Compliance (Beta)
UI Functions

Navigation

t.navigate(opts)

Lets you tell Trello to navigate to an arbitrary Trello URL, such as that of a card or board. Will not let you navigate the page to a non-Trello URL. If trying to bring up an open (not archived) card on the current board, you should instead use t.showCard as it will be much more performant.

1
2
var t = window.TrelloPowerUp.iframe();

t.navigate({
  url: 'https://trello.com/c/nqPiDKmw/9-grand-canyon-national-park'
});

t.showCard(idCard)

Let's you tell Trello to open a specific card as long as that card is both on the current board, and not archived. To show an archived card on the current board, use t.navigate

1
2
var t = window.TrelloPowerUp.iframe();

// you can use either the shortLink for the card
// or the full id
t.showCard('nqPiDKmw');

t.hideCard()

Used to close a card if there is one currently open.

1
2
var t = window.TrelloPowerUp.iframe();

// Open up a card modal
t.showCard('nqPiDKmw');

// close the open card modal
t.hideCard();

Rate this page: