html_compose.attributes.colgroup_attrs

 1from . import BaseAttribute
 2
 3
 4class ColgroupAttrs:
 5    """
 6    This module contains functions for attributes in the 'colgroup' 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        "colgroup" 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 ColgroupAttrs:
 5class ColgroupAttrs:
 6    """
 7    This module contains functions for attributes in the 'colgroup' 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        "colgroup" 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 'colgroup' element. Which is inherited by a class so we can generate type hints

@staticmethod
def span(value) -> html_compose.base_attribute.BaseAttribute:
11    @staticmethod
12    def span(value) -> BaseAttribute:
13        """
14        "colgroup" 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)

"colgroup" 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