This commit is contained in:
Niels Lyngsø
2024-10-09 12:15:07 +02:00
parent ae0d5416e8
commit 685ed0b65a

View File

@@ -59,8 +59,8 @@ export class UmbBlockElementPropertyDatasetContext extends UmbControllerBase imp
/**
* @function propertyValueByAlias
* @param {string} propertyAlias
* @returns {Promise<Observable<ReturnType | undefined> | undefined>}
* @param {string} propertyAlias - The alias of the property
* @returns {Promise<Observable<ReturnType | undefined> | undefined>} - An observable of the property value.
* @description Get an Observable for the value of this property.
*/
async propertyValueByAlias<ReturnType = unknown>(propertyAlias: string) {
@@ -69,7 +69,7 @@ export class UmbBlockElementPropertyDatasetContext extends UmbControllerBase imp
/**
* @function setPropertyValue
* @param {string} alias
* @param {string} alias - The alias of the property
* @param {unknown} value - value can be a promise resolving into the actual value or the raw value it self.
* @returns {Promise<void>}
* @description Set the value of this property.