Element property option

Option objects containing all valid options for enum Element Property .. properties.

Available from: 2.0.0

Import


                                                        
                                                        
                                                            import { ElementPropertyOption } from "@supernovaio/sdk"
                                                        
                                                            

Properties

  • id: The unique identifier of the element property option. This ID provides a constant and unchanging reference to the option entity.
  • name: The name of the element property option, offering a human-readable label to identify it easily and distinguish it from other options within the same property.
  • backgroundColor: A color value or null, representing the background color associated with the element property option.

The background color may be one of the following options:


                                                        
                                                        
                                                            type ElementPropertyOptionBadgeColor =
                                                          | "blue"
                                                          | "cyan"
                                                          | "fuchsia"
                                                          | "green"
                                                          | "grey"
                                                          | "light-grey"
                                                          | "orange"
                                                          | "pink"
                                                          | "purple"
                                                          | "red"
                                                          | "teal"
                                                          | "yellow"
                                                        
                                                            

Additionally, the color can also be a custom value (or null), prefixed with #.