use native directives for onclick events