set_target method

set_target

Sets the ’target’ attribute of the SVG ‘a’ element to a custom XML name.

Returns

The current instance of SVGAElementBuilder for method chaining.

def set_target(self, xml_name):
    ...
ParameterTypeDescription
xml_namestrThe custom XML name to be used as the target.

Exceptions

ExceptionDescription
ArgumentExceptionThrown when xmlName is null or empty.

See Also