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

Add new signature to boolean attributes #221

Closed
btamas2000 opened this issue Jul 23, 2021 · 0 comments · Fixed by #222
Closed

Add new signature to boolean attributes #221

btamas2000 opened this issue Jul 23, 2021 · 0 comments · Fixed by #222
Assignees

Comments

@btamas2000
Copy link
Member

Extending the issue #217
Attributes to change: https://meiert.com/en/blog/boolean-attributes-of-html/

Idea for usage:

let bvar = Var.Create true
let bview = bvar.View

Doc.Button "Should be disabled" [attr.DisabledBool bview] (fun () -> ())
@btamas2000 btamas2000 self-assigned this Jul 23, 2021
@btamas2000 btamas2000 changed the title Fix boolean attributes not working properly Add new signature to boolean attributes Jul 23, 2021
Jand42 pushed a commit that referenced this issue Jul 23, 2021
* bool option added to one attr

* Added bool signature to attributes + made new ones
@mrtank mrtank linked a pull request Sep 10, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants