Property allowing access to invoke a moment from within this timeline
Returns EmitProxyType<T>
on
get on(): OnProxyType<T>
Property allowing access to manage observers on moments within this timeline
Returns OnProxyType<T>
query
get query(): URLSearchParams
Querystring key, value pairs which will be included in the request
Returns URLSearchParams
Methods
ProtectedcloneObserversOnChange
cloneObserversOnChange(): void
By default a timeline references the same observer collection as a parent timeline,
if any changes are made to the observers this method first clones them ensuring we
maintain a local copy and de-ref the parent
Returns void
concat
concat(pathPart): this
Directly concatenates the supplied string to the current url, not normalizing "/" chars
Parameters
pathPart: string
The string to concatenate to the url
Returns this
Protectederror
error(e?): void
Shorthand method to emit an error event tied to this timeline
Parameters
Optionale: any
Optional. Any error object to emit. If none is provided no emit occurs
Returns void
Protectedexecute
execute(userInit): Promise<void>
Method orchestrating the emit calls for the moments defined in inheriting classes
Parameters
userInit: RequestInit
Returns Promise<void>
expand
expand(...expands): this
Expands fields such as lookups to get additional data
Parameters
Rest...expands: string[]
The Fields for which to expand the values
Returns this
getContextInfo
getContextInfo(path?): Promise<IContextInfo>
Gets the context info for the specified path
Parameters
Optionalpath: string
Optional. Absolute path to a SharePoint resource [Default: this.parentUrl]
Represents the child nodes of this node