Unique Element ID


(Michael) #1

Firstly the new version is amazing - congratulations.
I use the unique element ID to detect button clicks with a custom framework. has there been any change to this?


(stephen) #2

Thanks! The unique element ID behaves the same in the new version.

Only thing to keep in mind is that if you use symbols and you have multiple instances of the symbol it isn’t a good idea to use the unique element ID on elements inside of the symbol. Elements inside of the symbol share all properties (including unique id) so the id would no longer be unique. You can use the class property (which is newly exposed in this version) if you need to reference elements inside of symbols.