Methods
background(background) → {CreateContextParameters}
Sets the background parameter.
Parameters:
Name | Type | Description |
---|---|---|
background | boolean | The background value to set. |
Throws:
- If the background parameter is not a boolean.
- Type
- Error
Returns:
- The updated instance of CreateContextParameters for chaining.
- Type:
- CreateContextParameters
referenceContext(id) → {CreateContextParameters}
Sets the reference context.
Parameters:
Name | Type | Description |
---|---|---|
id | string | The ID of the reference context. |
Throws:
- If the provided ID is not a string.
- Type
- Error
Returns:
- The updated instance of CreateContextParameters for chaining.
- Type:
- CreateContextParameters
userContext(userContext) → {CreateContextParameters}
Sets the user context.
Parameters:
Name | Type | Description |
---|---|---|
userContext | string | The user context to set. |
Throws:
- If the userContext parameter is not a string.
- Type
- Error
Returns:
- The updated instance of CreateContextParameters for chaining.
- Type:
- CreateContextParameters