Use the html data attribute `data-component` to call javascript functions.