Stay organized with collections
Save and categorize content based on your preferences.
Sets the value of a given property. Throws an error if the key provided is not supported by the object. Look at the constructor's parameters to see which properties can be set.
Returns this ui.data.ActiveDictionary.
Usage
Returns
DrawingTools.set(keyOrDict, value)
ui.data.ActiveDictionary
Argument
Type
Details
this: ui.data.activedictionary
ui.data.ActiveDictionary
The ui.data.ActiveDictionary instance.
keyOrDict
Object|String
Either the key of the property to set or a dictionary of key/value pairs to set on the object.
value
Object, optional
The property's new value. This is required when the first argument is a key string.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["Sets the value of a specified property within a ui.data.ActiveDictionary object."],["Throws an error if the provided key is not a supported property, refer to the constructor parameters for valid properties."],["Accepts either a single key-value pair or a dictionary of key-value pairs to modify the object's properties."],["Returns the updated ui.data.ActiveDictionary instance, enabling method chaining."]]],[]]