ContentLocationsElement
ContentLocationsElement
is a custom HTML element that displays a customizable SAS Viya "locations" list for navigation. Locations are typically Viya folders. This element extends HTMLElement
.
Custom Element Tag
<sas-content-locations
url="http://my-viya-server.com"
></sas-content-locations>
Attributes
url
See url.
authenticationType
See authenticationType.
Properties
onSelect: (item: Item) => void
A callback function that can be used to respond to the selection of a location in the ContentLocationsElement.
Arguments
item: Item
The selected Item.
showSeparator: boolean | (rowIndex: number) => boolean
A boolean or function used to specify which locations should have a separator above them in the UI. When using the function version, return true for rowIndices for locations which should show a separator.