Skip to content

Conversation

@tyb-talks
Copy link
Contributor

Follow up to #35539. This replaces template args used for applying the autocomplete modifier for handling # triggers to autocomplete categories.

@tyb-talks tyb-talks force-pushed the dev-replace-hashtag-autocomplete-template-with-component branch from a3d1075 to d1ee8a2 Compare November 5, 2025 08:36
Comment on lines +19 to +24
* @component HashtagAutocompleteResults
* @param {Array} results - Array of autocomplete results (categories and tags)
* @param {number} selectedIndex - Currently selected index in the results list
* @param {Function} onSelect - Callback function triggered when a result is selected
* @param {Function} onRender - Optional callback function triggered after component renders
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, there is an official JSDoc syntax to document components which we're playing with (e.g.). If an editor is configured correctly, it can provide autocomplete/docs for arguments.

Not a blocker for this PR - we have a ton of non-standard-jsdoc comments on other components. Just thought you might be interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants