a file named FooBar.vue can refer to itself as in its template. Event handling works the same way as with HTML elements: You prefix the handler name with on, use camel case, and pass the handler as a property with this name: Thanks for contributing an answer to Stack Overflow! Why are open-source PDF APIs so hard to come by? We have three data variables and two methods. It incorporates all of the three principles described above and allows for creating abstract, portable, and loosely coupled components that can be reused and shared between different projects. Since components are referenced as variables instead of registered under string keys, we should use dynamic :is binding when using dynamic components inside