html_compose.attributes.dialog_attrs
1from . import BaseAttribute 2 3 4class DialogAttrs: 5 """ 6 This module contains functions for attributes in the 'dialog' element. 7 Which is inherited by a class so we can generate type hints 8 """ 9 10 @staticmethod 11 def open(value: bool) -> BaseAttribute: 12 """ 13 "dialog" attribute: open 14 Whether the dialog box is showing 15 16 Args: 17 value: 18 Boolean attribute 19 20 Returns: 21 An open attribute to be added to your element 22 23 """ 24 25 return BaseAttribute("open", value)
class
DialogAttrs:
5class DialogAttrs: 6 """ 7 This module contains functions for attributes in the 'dialog' element. 8 Which is inherited by a class so we can generate type hints 9 """ 10 11 @staticmethod 12 def open(value: bool) -> BaseAttribute: 13 """ 14 "dialog" attribute: open 15 Whether the dialog box is showing 16 17 Args: 18 value: 19 Boolean attribute 20 21 Returns: 22 An open attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("open", value)
This module contains functions for attributes in the 'dialog' element. Which is inherited by a class so we can generate type hints
11 @staticmethod 12 def open(value: bool) -> BaseAttribute: 13 """ 14 "dialog" attribute: open 15 Whether the dialog box is showing 16 17 Args: 18 value: 19 Boolean attribute 20 21 Returns: 22 An open attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("open", value)
"dialog" attribute: open Whether the dialog box is showing
Args: value: Boolean attribute
Returns: An open attribute to be added to your element