ReadoutHTML

An HTML view: a JHTML element, an Apps component (to_jhtml), anything with tostring or a raw HTML string. head lists extra <head> elements it needs (scripts/stylesheets) in standalone pages. In PowerPoint the fallback node is used instead; without one, static elements contribute their visible text and scripted ones a short note.

kind: str

 

__init__(self, element, fallback=None, head=(), **opts): 

 

get_element(self, mode='static'): 

 

text_content(self, max_chars=2000): 

Visible text of a static element (None if it carries scripts or can’t be serialized).


Feedback

Examples

Templates

Documentation