@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Repeatable(value=JsModule.Container.class) public @interface JsModule
Component
class.
For adding multiple JavaScript Module files for a single component, you can
use this
annotation multiple times.
It is guaranteed that dependencies will be loaded only once.
NOTE: while this annotation is not inherited using the
@Inherited annotation, the annotations of the possible
parent components or implemented interfaces are read when sending the
dependencies to the browser.
Copyright © 2000–2019 Vaadin Ltd. All rights reserved.