Search.../

id

Gets the slide's ID.

Description

The ID is the slide's unique identifier. It is used when selecting elements using the $w() function.

You cannot view or change a slide's id in the Velo Properties & Events panel. You can change a slide's name instead.

Type:

stringRead Only

Was this helpful?

Get the ID

Copy Code
1let slideId = $w("#mySlide").id; // "slide1" or "slideshowSlide1"