
Text: '#133 Removing duplicate `status` property',ĪlwaysVisible: true, // non-search option, always shownĬount: 10, // number of items to display at a time Text: '#135 attempt to fix trello/api-docs#134',
#TRELLO ICON FULL#
Defaults to 300, also the minimum value.Īn example of client side search, where you have the full list of items ready before calling t.popup: debounce - Integer - When doing dynamic search, the number of milliseconds to wait after the user has stopped typing before calling the search function. searching - String - The value to display when the search function is being executed. empty - String - Text to display when a user is searching but not results found.

Should be an object that contains the following keys (all optional): count - Integer - Determines the number of items to display when searching placeholder - String - Text to display in search text input when it is empty. It should resolve to an array containing objects with the keys defined above. For dynamic searching, you can pass the items key a function that will be called when the user begins typing. alwaysVisible - Boolean (optional) - Determines whether the item should always be displayed, regardless of whether it matches the search, or not. url - String - Trello will open the URL when the user selects the item. callback - Function - Called by Trello it when the user clicks the item. text - String - Will be searched by Trello when the user enters a value into the text field. The screenshot below shows the GitHub Power-Up using this functionality to provide a means of searching for a pull request to attach to the cardĪrray of Objects or Function that returns a PromiseĮach object in the array should contain a text key and either a callback or url key or both. These popups can either take a long static list of prepopulated options and will perform client side search for you, or can take a function to be called as the user types which performs the search and returns the resulting options.

When the list of options grows to long, its probably time to switch to a search popup.
