function
Source: sort.ts ↗
newAttributeLocator()
Creates a new attribute locator for an attribute element.
export declare function newAttributeLocator(attributeOrId: IAttribute | string, element: string): IAttributeLocatorItem;
Parameters
Parameter | Type | Description |
|---|---|---|
attributeOrId | IAttribute | string | attribute, can be specified by either the attribute object or its local identifier |
element | string | attribute element value URI or primary label value |
Returns
new locator