Function setSource

  • Sets the source property of the given node and all of its child nodes.

    If source is not a function, then the source object will be copied for all source properties to be set. The object will be copied using the start and end properties alone, other properties will not be copied.

    Parameters

    Returns void