save_dom Method
Saves the DOM to a file.
Syntax
def save_dom(file_name: str) -> None: ...
Remarks
The save_dom method saves the current DOM structure to the file specified in FileName. This enables the component to later load the DOM without incurring any parsing overhead.
Please refer to the load_dom method for more information.