TemplateInsertionModeStack

TemplateInsertionModeStack

Overview

TemplateInsertionModeStack is a class in Aspose.Html FOSS for Python.

The template insertion mode stack per §13.2.4.1.

This class provides 3 methods for working with TemplateInsertionModeStack objects in Python programs. Available methods include: __init__, pop, push. All public members are accessible to any Python application after installing the Aspose.Html FOSS for Python package. Properties: current.

Properties

NameTypeAccessDescription
currentInsertionMode | NoneReadThe topmost template insertion mode, or None if empty.

Methods

SignatureDescription
__init__()Calls init on this TemplateInsertionModeStack instance.
push(mode: InsertionMode)Push a new template insertion mode.
pop()InsertionModePop and return the current template insertion mode.

See Also