(name: string)
| 254 | } |
| 255 | |
| 256 | export function isCssException(name: string): boolean { |
| 257 | for (const exception of cssExceptions) { |
| 258 | if (typeof exception === "string" && exception === name) { |
| 259 | return true; |
| 260 | } |
| 261 | if (exception instanceof RegExp && exception.test(name)) { |
| 262 | return true; |
| 263 | } |
| 264 | } |
| 265 | return false; |
| 266 | } |
| 267 | |
| 268 | export function isJsEvent(name: string): boolean { |
| 269 | return jsEventLookup.has(normalizeJsEventName(name)); |