html_compose.attributes.bdo_attrs

 1from . import BaseAttribute
 2from typing import Literal
 3
 4
 5class BdoAttrs:
 6    """
 7    This module contains functions for attributes in the 'bdo' element.
 8    Which is inherited by a class so we can generate type hints
 9    """
10
11    @staticmethod
12    def dir(value: Literal["ltr", "rtl"]) -> BaseAttribute:
13        """
14        "bdo" attribute: dir
15        The text directionality of the element
16
17        Args:
18            value:
19                ['ltr', 'rtl']
20
21        Returns:
22            An dir attribute to be added to your element
23
24        """
25
26        return BaseAttribute("dir", value)
class BdoAttrs:
 6class BdoAttrs:
 7    """
 8    This module contains functions for attributes in the 'bdo' element.
 9    Which is inherited by a class so we can generate type hints
10    """
11
12    @staticmethod
13    def dir(value: Literal["ltr", "rtl"]) -> BaseAttribute:
14        """
15        "bdo" attribute: dir
16        The text directionality of the element
17
18        Args:
19            value:
20                ['ltr', 'rtl']
21
22        Returns:
23            An dir attribute to be added to your element
24
25        """
26
27        return BaseAttribute("dir", value)

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

@staticmethod
def dir( value: Literal['ltr', 'rtl']) -> html_compose.base_attribute.BaseAttribute:
12    @staticmethod
13    def dir(value: Literal["ltr", "rtl"]) -> BaseAttribute:
14        """
15        "bdo" attribute: dir
16        The text directionality of the element
17
18        Args:
19            value:
20                ['ltr', 'rtl']
21
22        Returns:
23            An dir attribute to be added to your element
24
25        """
26
27        return BaseAttribute("dir", value)

"bdo" attribute: dir The text directionality of the element

Args: value: ['ltr', 'rtl']

Returns: An dir attribute to be added to your element