html_compose.attributes.col_attrs
1from . import BaseAttribute 2 3 4class ColAttrs: 5 """ 6 This module contains functions for attributes in the 'col' element. 7 Which is inherited by a class so we can generate type hints 8 """ 9 10 @staticmethod 11 def span(value) -> BaseAttribute: 12 """ 13 "col" attribute: span 14 Number of columns spanned by the element 15 16 Args: 17 value: 18 Valid non-negative integer greater than zero 19 20 Returns: 21 An span attribute to be added to your element 22 23 """ 24 25 return BaseAttribute("span", value)
class
ColAttrs:
5class ColAttrs: 6 """ 7 This module contains functions for attributes in the 'col' element. 8 Which is inherited by a class so we can generate type hints 9 """ 10 11 @staticmethod 12 def span(value) -> BaseAttribute: 13 """ 14 "col" attribute: span 15 Number of columns spanned by the element 16 17 Args: 18 value: 19 Valid non-negative integer greater than zero 20 21 Returns: 22 An span attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("span", value)
This module contains functions for attributes in the 'col' element. Which is inherited by a class so we can generate type hints
11 @staticmethod 12 def span(value) -> BaseAttribute: 13 """ 14 "col" attribute: span 15 Number of columns spanned by the element 16 17 Args: 18 value: 19 Valid non-negative integer greater than zero 20 21 Returns: 22 An span attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("span", value)
"col" attribute: span Number of columns spanned by the element
Args: value: Valid non-negative integer greater than zero
Returns: An span attribute to be added to your element