Sets or gets breadcrumbs items.
Setting the items
property sets the items
for a breadcrumbs element.
Set items
to an empty array ([]
) to remove all breadcrumbs items.
Getting the items
property returns breadcrumbs items that have been set using code. If no
items have been set using code, your site generates a default items array based on your home page, the site visitor's location,
and the organization of your site's pages including
any menu folders you have added to your site.
Properties that don't have a value are omitted from the returned array.
You can't modify the items array in-place. To add, change, or remove individual breadcrumbs items:
items
property in a variable.items
property with the variable's modified array.