Constructor. Pass an instance of WebDriver's WebElement that represents the DOM node on which we"ll perform operations.
The basic WebElement with which this WebElement will work.
Sets the value of expanded property.
Specifies the key set containing the ids of sections that should be expanded on initial render. See the Help documentation for more information.
The value to set for expanded
Since 16.0.0. Collapsible legend sections are not recommended in the Redwood theme.
Gets the value of as property.
An alias for the '$current' context variable passed to slot content for the nodeTemplate slot.
The value of as property.
Since 6.2.0. Set the alias directly on the template element using the data-oj-as attribute instead.
Gets the value of expanded property.
Specifies the key set containing the ids of sections that should be expanded on initial render. See the Help documentation for more information.
The value of expanded property.
Since 16.0.0. Collapsible legend sections are not recommended in the Redwood theme.
Gets the value of hoverBehaviorDelay property.
Specifies initial hover delay in milliseconds for highlighting items in legend.
The value of hoverBehaviorDelay property.
Since 14.1.0. This is not recommended in the Redwood design system.
Get a named property value from this component. This function will wait for the application's busy context to complete before attempting to get the property value.
The name of the property
A Promise that yields a value for the named property.
Gets the value of trackResize property.
Defines whether the element will automatically render in response to changes in size. See the Help documentation for more information.
The value of trackResize property.
Since 15.0.0. This is no longer needed due to performance enhancements. The default behavior will be used.
Gets the value of translations property.
A collection of translated resources from the translation bundle, or null if this component has no resources.
The value of translations property.
Protected hasCreate a wait condition that is satisfied when the element's DOM has a non-zero size.
The Condition to be used with driver.wait() that's satisfied when the element's DOM has a non-zero size.
Since 11.0.0. Call the appropriate WebElement method to test the size of the element.
Protected hasCreate a wait condition that is satisfid when the element is visible. The condition is satisfied when the element is displayed, as reported by #isDisplayed, and is scrolled into view. This is method is deprecated. Use WebElement.isDisplayed instead to test the display of the element, and scroll it into view if necessary.
Protected setSet a property value on the remote element. This function first waits for the BusyContext to clear before setting the property, then after setting, waits again to ensure that no additional busy states were created due to the property setting.
The property name to set
The value to set for the property
A Promise which resolves when the remote property has been set to the value. Any value returned from the call to set the remote property is returned in the Promise.
Returns a Promise that is resolved when the application's busy state reports ready. This method checks only that the application's busy context is ready, and not that the DOM element is actually displayed or has a physical size, such as is the case with #whenReady. Operations which are read-only in nature should call this method prior to execution.
A Promise which is resolved when the page's busy state is ready.
Returns a Promise that is resolved when the element is ready for interaction--it is visible, has a size, and the app's busy context is ready. Operations on the DOM which rely on its physical location and size to be in a "ready" state should use this command, such as clicking, sending keys, locating child elements, and so on.
A Promise that's resolved when all conditions are met.
Generated using TypeDoc
This is the base class for oj-legend WebElement, and is generated from the component's metadata. Do not modify these contents since they'll be replaced during the next generation. Put overrides into the WebElements's subclass, OjLegend.ts.