How do I set camel case attributes in Dart Web UI? How do I set camel case attributes in Dart Web UI? dart dart

How do I set camel case attributes in Dart Web UI?


It turns out that HTML attributes are always lowercase, so Dart Web UI will convert loggedIn to loggedin.

To use camel case, you must use logged-in as an attribute.

Here is an example:

<x-person logged-in="{{loggedIn}}"></x-person>