How to expose a function, so that, the project can directly call the function inside the web component