Merge pull request #2280 from vsemozhetbyt/patch-11

Fix typo in 2.1.6 (Attributes and properties)
This commit is contained in:
Ilya Kantor 2020-11-11 17:57:51 +03:00 committed by GitHub
commit fab613d2fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -298,7 +298,7 @@ For instance, here for the order state the attribute `order-state` is used:
</div>
```
Why would using an attribute be preferable to having classes like `.order-state-new`, `.order-state-pending`, `order-state-canceled`?
Why would using an attribute be preferable to having classes like `.order-state-new`, `.order-state-pending`, `.order-state-canceled`?
Because an attribute is more convenient to manage. The state can be changed as easy as: