Method WithOnDeleteScript
WithOnDeleteScript(string)
Sets the script to be executed when a DOM instance is deleted.
public T WithOnDeleteScript(string scriptName)
Parameters
scriptName
stringThe name of the script to execute on deletion, or an empty string to not execute a script
Returns
- T
The builder instance for chaining.
Exceptions
- ArgumentNullException
Thrown when
scriptName
isnull
.