type method

type

Sets the ’type’ attribute of the SVG ‘style’ element. This attribute specifies the style sheet language of the element’s contents.

Returns

The SVGStyleElementBuilder instance for chaining.

def type(self, content_type):
    ...
ParameterTypeDescription
content_typestrThe MIME type of the style language (e.g., “text/css”).

See Also