(name: string)
| 60 | * handle the output properly. |
| 61 | */ |
| 62 | export function getEventOrGestureName(name: string): string { |
| 63 | return name.indexOf('on') === 0 ? name.slice(2) : name; |
| 64 | } |
| 65 | |
| 66 | export function isGesture(eventOrGestureName: string): boolean { |
| 67 | // Not sure whether this trimming and lowercasing is still needed in practice |
no test coverage detected