getName()

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

getName()

Type: String The component name.