Tags Interface

class epyk.interfaces.components.CompTags.Tags(ui)
a(text: str, url: str, width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <a> tag defines a hyperlink, which is used to link from one page to another.

The most important attribute of the <a> element is the href attribute, which indicates the link’s destination.

Underlying HTML Objects:

  • epyk.core.html.HtmlTags.HtmlGenericLink

Related Pages:

Templates:

Usage:

:param text: String with the content to be added to the component.
:param url: String. Specifies the URL of the page the link goes to.
:param width: Tuple with the width value and its unit.
:param height: Tuple with the height value and its unit.
:param html_code: String. The code reference of the component.
:param tooltip: String. The tooltip to be display on the component.
:param options: Dictionary. Optional. Specific Python options available for this component.
:param profile: Boolean flag to set the profiling mode for the component.
abbr(text: str, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <abbr> tag defines an abbreviation or an acronym, like “HTML”, “Mr.”, “Dec.”, “ASAP”, “ATM”.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

aside(text: str = '', width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <aside> tag defines some content aside from the content it is placed in.

The aside content should be related to the surrounding content.

Underlying HTML Objects:

  • epyk.core.html.HtmlTags.HtmlGenericLink

Related Pages:

Parameters:
  • text – String with the content to be added to the component.

  • width – Tuple with the width value and its unit.

  • height – Tuple with the height value and its unit.

  • html_code – String. The code reference of the component.

  • tooltip – String. The tooltip to be display on the component.

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component.

b(text: str, width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <b> tag specifies bold text without any extra importance.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

bdi(text, width: Union[tuple, int] = (100, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

BDI stands for Bi-Directional Isolation. The <bdi> tag is new in HTML5.

Usage:

bdi = rptObj.ui.tags.bdi("bdi tag")
bdi.click(rptObj.js.alert("test"))
bdi.css({'cursor': 'pointer'})

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

bdo(text: str, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

bdo stands for Bi-Directional Override. The <bdo> tag is used to override the current text direction.

Usage:

bdo = rptObj.ui.tags.bdo("bdo tag")

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

cite(text: str, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <cite> tag defines the title of a work (e.g. a book, a song, a movie, a TV show, a painting, a sculpture, etc.).

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

comment(text: str)

Add an HTML comment to the code

Underlying HTML Objects:

Parameters:

text – String with the content to be added to the component

delete(text: str, width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

Underlying HTML Objects:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

dfn(text: str, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <dfn> tag represents the defining instance of a term in HTML.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

em(text: str, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <em> tag is a phrase tag. It renders as emphasized text.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

figcaption(text: str = '', width=(None, '%'), height=(None, 'px'), html_code=None, tooltip='', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <figcaption> tag defines a caption for a <figure> element.

The <figcaption> element can be placed as the first or last child of the <figure> element.

Underlying HTML Objects:

  • epyk.core.html.HtmlTags.HtmlGenericLink

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

h1(text: str = '', width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <h1> to <h6> tags are used to define HTML headings.

<h1> defines the most important heading. <h6> defines the least important heading.

Underlying HTML Objects:

  • :class:`epyk.core.html.HtmlTags.HtmlGeneric`s

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

h2(text: str = '', width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <h1> to <h6> tags are used to define HTML headings.

<h1> defines the most important heading. <h6> defines the least important heading.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

h3(text: str = '', width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <h1> to <h6> tags are used to define HTML headings.

<h1> defines the most important heading. <h6> defines the least important heading.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

hn(level: int, text: str, width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <h1> to <h6> tags are used to define HTML headings.

<h1> defines the most important heading. <h6> defines the least important heading.

Underlying HTML Objects:

Related Pages:

Parameters:
  • level – Integer.

  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

i(text, width: Union[tuple, int] = (None, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <i> tag defines a part of text in an alternate voice or mood. The content of the <i> tag is usually displayed in italic.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

ins(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <ins> tag defines a text that has been inserted into a document.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

kbd(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <kbd> tag is a phrase tag. It defines keyboard input.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

label(text: str = '', width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <label> tag defines a label for several elements.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

mark(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <mark> tag defines marked text.

Use the <mark> tag if you want to highlight parts of your text.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

meter(text: str, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <meter> tag defines a scalar measurement within a known range, or a fractional value. This is also known as a gauge.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

nav(text: Optional[str] = None, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The HTML <nav> element represents a section of a page whose purpose is to provide navigation links, either within the current document or to other documents. Common examples of navigation sections are menus, tables of contents, and indexes.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

no_tag(text: str = '', width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

Dummy HTML without any tag to add this to the list of a container objects.

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

ol(text='', width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.

Use the <li> tag to define list items.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

p(text='', width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

A paragraph is marked up as follows with the <p> tag: <p>This is some text in a paragraph.</p>

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

q(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <q> tag defines a short quotation.

Browsers normally insert quotation marks around the quotation.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

s(text, width=(100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <s> tag specifies text that is no longer correct, accurate or relevant.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • tooltip – String. The tooltip to be display on the component

  • profile – Boolean flag to set the profiling mode for the component

samp(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <samp> tag is a phrase tag. It defines sample output from a computer program.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

small(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <small> tag defines smaller text (and other side comments).

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

span(text: str = '', width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <span> tag is an inline container used to mark up a part of a text, or a part of a document.

The <span> tag is easily styled by CSS or manipulated with JavaScript using the class or id attribute.

The <span> tag is much like the <div> element, but <div> is a block-level element and <span> is an inline element.

Underlying HTML Objects:

Related Pages:

Usage:

s2 = page.ui.tags.span('''
  Value Formatter €
  A Value Formatter is
  ''', options={"multiline": True})
Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

strong(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <strong> tag is a phrase tag. It defines important text.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

sub(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <sub> tag defines subscript text. Subscript text appears half a character below the normal line, and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

sup(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <sup> tag defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like WWW

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

time(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <time> tag defines a human-readable date/time.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

u(text, width: Union[tuple, int] = (None, '%'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

Underline a misspelled word with the <u> tag: <p>This is a <u>paragraph</u>.</p>

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

var(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <var> tag also supports the Global Attributes in HTML.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component

wbr(text, width: Union[tuple, int] = (100, 'px'), height: Union[tuple, int] = (None, 'px'), html_code: Optional[str] = None, tooltip: str = '', options: Optional[dict] = None, profile: Optional[Union[bool, dict]] = None)

The <wbr> (Word Break Opportunity) tag specifies where in a text it would be ok to add a line-break.

Underlying HTML Objects:

Related Pages:

Parameters:
  • text – String with the content to be added to the component

  • width – Tuple with the width value and its unit

  • height – Tuple with the height value and its unit

  • html_code – String. The code reference of the component

  • tooltip – String. The tooltip to be display on the component

  • options – Dictionary. Optional. Specific Python options available for this component.

  • profile – Boolean flag to set the profiling mode for the component