Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Improve documentation for importing HTML or JavaScript #1113

Open
OlliTietavainenVaadin opened this issue Feb 25, 2020 · 0 comments
Open

Improve documentation for importing HTML or JavaScript #1113

OlliTietavainenVaadin opened this issue Feb 25, 2020 · 0 comments

Comments

@OlliTietavainenVaadin
Copy link
Member

In the docs "Importing JavaScript, JavaScript modules, and HTML" there should be a more complete example of what you can do with the HTML and the JavaScript in the following sample:

@Tag("div")
@JsModule("./src/my-module.js")
@JavaScript("/js/script.js")
@HtmlImport("/html/htmlimport.html")
static class CustomComponent extends Component
        implements HasText {
  // implementation omitted
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant