nl_tokens: const NATIVE_EVENTS = [ click longpress focus blur appear disappear swipe ] ; Transform event attribute information
pl_tokens: function transformEventAttr ( attrs , name , tplOpts , opts , element ) { let value = attrs [ name ] ; let eventAttrName = name . replace ( EVENT_REGEXP , '' ) ; let [ eventType , ... eventModifiers ] = eventAttrName . split ( '.' ) ; let { logger , file } = tplOpts ; if ( eventModifiers . length ) { logger . warn ( ` ${ file . path } \` ${ <mask> } \` ` , ` ${ eventModifiers . join ( '.' ) } ` ) ; } delete attrs [ name ] ; // covert the camel case to kebab-case let newName = 'on' + toHyphen ( eventType ) ; // TODO: $event event params is not supported attrs [ newName ] = value ; }