Skip to content

A platform for community discussion. Free, open, simple.

DEV: adds documentation about caret option of widget dropdown (#9596)

Joffrey JAFFEUX7ef8f7bb7c5e
diff --git a/app/assets/javascripts/discourse/app/widgets/widget-dropdown.js b/app/assets/javascripts/discourse/app/widgets/widget-dropdown.js
index 8fe72d3e33a..0b26f8d727d 100644
--- a/app/assets/javascripts/discourse/app/widgets/widget-dropdown.js
+++ b/app/assets/javascripts/discourse/app/widgets/widget-dropdown.js
@@ -49,6 +49,7 @@ import hbs from "discourse/widgets/hbs-compiler";
- options: accepts a hash of optional attributes
- headerClass: adds css class to the dropdown header
- bodyClass: adds css class to the dropdown header
+ - caret: adds a caret to visually enforce this is a dropdown
*/
export const WidgetDropdownHeaderClass = {