Skip to content
New issue

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

boolean prop does not show in props #175

Open
jieliu218 opened this issue Mar 10, 2024 · 2 comments
Open

boolean prop does not show in props #175

jieliu218 opened this issue Mar 10, 2024 · 2 comments

Comments

@jieliu218
Copy link

customElements.define(
"weather-widget",
r2wc(WeatherWidgetWapper, {
props: {
latitude: "number",
longitude: "number",
showHourly: "boolean",
theme: "json",
test: "string",
a: "boolean",
},
}),
);

showHourly and a are not in props.

@manudesir
Copy link

only lowcase props work

@diturriza
Copy link

using lowercase props works for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants