We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my flow LitTemplate I want to be able to reference <code> elements via @Id
<code>
@Id
my-element.ts:
render(){ html` <pre> <code id="code"> </code> </pre> ` }
MyElement.java:
public class MyElement extends LitTemplate { @Id Code code; }
CODE
@Tag
public @interface Tag { //... String CODE = "code"; //... }
@Tag(Tag.CODE) public class Code extends HtmlContainer implements ClickNotifier<Code> { public Code() { super(); } public Code(Component... components) { super(components); } public Code(String text) { super(); setText(text); } }
I can reference the existing Pre element and append a new Element("code") element and do the working with the Element
new Element("code")
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe your motivation
In my flow LitTemplate I want to be able to reference
<code>
elements via@Id
my-element.ts:
MyElement.java:
Describe the solution you'd like
CODE
in the@Tag
annotationDescribe alternatives you've considered
I can reference the existing Pre element and append a
new Element("code")
element and do the working with the ElementThe text was updated successfully, but these errors were encountered: