Artifact Content
Artifact e65feb713e0ecae76032dea2192ec048c3f6252a37eff4280130e0058e497434:
- File public/riot-3.13.2/lib/browser/common/util/misc/is-event-attribute.js — part of check-in [12a9bb700d] at 2021-08-11 18:56:04 on branch trunk — Import from git Added a changelog (user: dev size: 254)
const EVENT_ATTR_RE = /^on/ /** * True if the event attribute starts with 'on' * @param { String } attribute - event attribute * @returns { Boolean } */ export default function isEventAttribute(attribute) { return EVENT_ATTR_RE.test(attribute) }