From 4eb51d97b6f6471abc873fd613b2bd53b4ae0f59 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 14 May 2020 15:45:02 +0100 Subject: [PATCH] typo in ternary --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 11f4afd6b..1293c6c23 100644 --- a/README.md +++ b/README.md @@ -266,7 +266,7 @@ Boolean attributes are supported as per the [HTML specification](https://html.sp For attributes that aren't standard boolean attributes (per the HTML spec, see previous section). It's still possible to mark the attribute for _removal_ when it gets passed `null`. This is in contrast to the regular behaviour where the attribute is set to whatever value it's bound to (even falsy values `false`, `undefined`, `0` etc). For example: -`` +`` This will completely remove the `href` attribute when `enabled` is false but set it to the value of `link` when enabled is true.