| 1 | pub const ITEMS_SELECTOR: &str = "popup-menu/items"; |
| 2 | |
| 3 | pub fn item_selector(index: usize) -> String { |
| 4 | format!("popup-menu/item-{index}") |
| 5 | } |
| 6 | |
| 7 | pub fn icon_selector(index: usize) -> String { |
| 8 | format!("popup-menu/item-{index}/icon") |
| 9 | } |
| 10 | |
| 11 | pub fn label_selector(index: usize) -> String { |
| 12 | format!("popup-menu/item-{index}/label") |
| 13 | } |