newAttributeLocatorWithNullElement()
Home > @gooddata/sdk-model > newAttributeLocatorWithNullElement
newAttributeLocatorWithNullElement() function
Creates a new attribute locator for an attribute element that can be null.
Signature:
export declare function newAttributeLocatorWithNullElement(attributeOrId: IAttribute | string, element: string | null): IAttributeLocatorItem;
Parameters
Parameter | Type | Description |
---|---|---|
attributeOrId | IAttribute | string | attribute, can be specified by either the attribute object or its local identifier |
element | string | null | attribute element value URI or primary label value, can be null |
Returns:
new locator