class documentation

class HtmlElementClassLookup(etree.CustomElementClassLookup):

View In Hierarchy

A lookup scheme for HTML Element classes.

To create a lookup instance with different Element classes, pass a tag name mapping of Element classes in the classes keyword argument and/or a tag name mapping of Mixin classes in the mixins keyword argument. The special key '*' denotes a Mixin class that should be mixed into all Element classes.

Method __init__ Undocumented
Method lookup Undocumented
Class Variable ​_default​_element​_classes Undocumented
Instance Variable ​_element​_classes Undocumented
def __init__(self, classes=None, mixins=None):

Undocumented

def lookup(self, node_type, document, namespace, name):

Undocumented

_default_element_classes: dict =

Undocumented

_element_classes =

Undocumented