html_compose.attributes.progress_attrs
1from . import BaseAttribute 2 3 4class ProgressAttrs: 5 """ 6 This module contains functions for attributes in the 'progress' element. 7 Which is inherited by a class so we can generate type hints 8 """ 9 10 @staticmethod 11 def max(value: float) -> BaseAttribute: 12 """ 13 "progress" attribute: max 14 Upper bound of range 15 16 Args: 17 value: 18 Valid floating-point number* 19 20 Returns: 21 An max attribute to be added to your element 22 23 """ 24 25 return BaseAttribute("max", value) 26 27 @staticmethod 28 def value(value: float) -> BaseAttribute: 29 """ 30 "progress" attribute: value 31 Current value of the element 32 33 Args: 34 value: 35 Valid floating-point number 36 37 Returns: 38 An value attribute to be added to your element 39 40 """ 41 42 return BaseAttribute("value", value)
class
ProgressAttrs:
5class ProgressAttrs: 6 """ 7 This module contains functions for attributes in the 'progress' element. 8 Which is inherited by a class so we can generate type hints 9 """ 10 11 @staticmethod 12 def max(value: float) -> BaseAttribute: 13 """ 14 "progress" attribute: max 15 Upper bound of range 16 17 Args: 18 value: 19 Valid floating-point number* 20 21 Returns: 22 An max attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("max", value) 27 28 @staticmethod 29 def value(value: float) -> BaseAttribute: 30 """ 31 "progress" attribute: value 32 Current value of the element 33 34 Args: 35 value: 36 Valid floating-point number 37 38 Returns: 39 An value attribute to be added to your element 40 41 """ 42 43 return BaseAttribute("value", value)
This module contains functions for attributes in the 'progress' element. Which is inherited by a class so we can generate type hints
11 @staticmethod 12 def max(value: float) -> BaseAttribute: 13 """ 14 "progress" attribute: max 15 Upper bound of range 16 17 Args: 18 value: 19 Valid floating-point number* 20 21 Returns: 22 An max attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("max", value)
"progress" attribute: max Upper bound of range
Args: value: Valid floating-point number*
Returns: An max attribute to be added to your element
28 @staticmethod 29 def value(value: float) -> BaseAttribute: 30 """ 31 "progress" attribute: value 32 Current value of the element 33 34 Args: 35 value: 36 Valid floating-point number 37 38 Returns: 39 An value attribute to be added to your element 40 41 """ 42 43 return BaseAttribute("value", value)
"progress" attribute: value Current value of the element
Args: value: Valid floating-point number
Returns: An value attribute to be added to your element