html_compose.attributes.q_attrs
1from . import BaseAttribute 2 3 4class QAttrs: 5 """ 6 This module contains functions for attributes in the 'q' element. 7 Which is inherited by a class so we can generate type hints 8 """ 9 10 @staticmethod 11 def cite(value) -> BaseAttribute: 12 """ 13 "q" attribute: cite 14 Link to the source of the quotation or more information about the edit 15 16 Args: 17 value: 18 Valid URL potentially surrounded by spaces 19 20 Returns: 21 An cite attribute to be added to your element 22 23 """ 24 25 return BaseAttribute("cite", value)
class
QAttrs:
5class QAttrs: 6 """ 7 This module contains functions for attributes in the 'q' element. 8 Which is inherited by a class so we can generate type hints 9 """ 10 11 @staticmethod 12 def cite(value) -> BaseAttribute: 13 """ 14 "q" attribute: cite 15 Link to the source of the quotation or more information about the edit 16 17 Args: 18 value: 19 Valid URL potentially surrounded by spaces 20 21 Returns: 22 An cite attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("cite", value)
This module contains functions for attributes in the 'q' element. Which is inherited by a class so we can generate type hints
11 @staticmethod 12 def cite(value) -> BaseAttribute: 13 """ 14 "q" attribute: cite 15 Link to the source of the quotation or more information about the edit 16 17 Args: 18 value: 19 Valid URL potentially surrounded by spaces 20 21 Returns: 22 An cite attribute to be added to your element 23 24 """ 25 26 return BaseAttribute("cite", value)
"q" attribute: cite Link to the source of the quotation or more information about the edit
Args: value: Valid URL potentially surrounded by spaces
Returns: An cite attribute to be added to your element