getName()

Returns the component’s code-compatible camel case name, such as 'lightningButton'.

Signature 

getName()

Returns 

Type: String The component name.