* @static component - Access to an specific component class * * @param {string} id - ID of the component you want to access to. * * @return {Component} - Returns the component class that matches the ID
(id: string)
| 966 | * @return {Component} - Returns the component class that matches the ID |
| 967 | */ |
| 968 | static component (id: string) { |
| 969 | const normalizedId = id.toLowerCase (); |
| 970 | |
| 971 | return this.components ().find ((c) => c.tag === normalizedId); |
| 972 | } |
| 973 | |
| 974 | /** |
| 975 | * @static assets - Simple function to modify and access the assets object, |
no test coverage detected