html_compose.attributes.li_attrs

 1from . import BaseAttribute
 2
 3
 4class LiAttrs:
 5    """
 6    This module contains functions for attributes in the 'li' element.
 7    Which is inherited by a class so we can generate type hints
 8    """
 9
10    @staticmethod
11    def value(value: int) -> BaseAttribute:
12        """
13        "li" attribute: value
14        Ordinal value of the list item
15
16        Args:
17            value:
18                Valid integer
19
20        Returns:
21            An value attribute to be added to your element
22
23        """
24
25        return BaseAttribute("value", value)
class LiAttrs:
 5class LiAttrs:
 6    """
 7    This module contains functions for attributes in the 'li' element.
 8    Which is inherited by a class so we can generate type hints
 9    """
10
11    @staticmethod
12    def value(value: int) -> BaseAttribute:
13        """
14        "li" attribute: value
15        Ordinal value of the list item
16
17        Args:
18            value:
19                Valid integer
20
21        Returns:
22            An value attribute to be added to your element
23
24        """
25
26        return BaseAttribute("value", value)

This module contains functions for attributes in the 'li' element. Which is inherited by a class so we can generate type hints

@staticmethod
def value(value: int) -> html_compose.base_attribute.BaseAttribute:
11    @staticmethod
12    def value(value: int) -> BaseAttribute:
13        """
14        "li" attribute: value
15        Ordinal value of the list item
16
17        Args:
18            value:
19                Valid integer
20
21        Returns:
22            An value attribute to be added to your element
23
24        """
25
26        return BaseAttribute("value", value)

"li" attribute: value Ordinal value of the list item

Args: value: Valid integer

Returns: An value attribute to be added to your element