From e66203ee7326e3b3b3f235613096f5fba34e5823 Mon Sep 17 00:00:00 2001 From: Craig Beck Date: Wed, 3 Jul 2024 10:56:33 -0700 Subject: [PATCH] Wordsmith suggestion for a-array Co-authored-by: Eric Hwang --- docs/views/template-syntax/view-attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/views/template-syntax/view-attributes.md b/docs/views/template-syntax/view-attributes.md index e14676c2..902faa81 100644 --- a/docs/views/template-syntax/view-attributes.md +++ b/docs/views/template-syntax/view-attributes.md @@ -191,7 +191,7 @@ this.modal.close(); ### `as-array` attribute -Similar to the `as` attribute, a property with the name of the attribute value is made available on the component but in this case is an `array`. Used by views in a `each` block to provide a reference in the controller to the individual item. +Similar to the `as` attribute, a property with the provided name is made available on the component, but in this case the value is an array of multiple references. This is useful in an `each` block, to provide a reference in the controller to every individual item. ```jinja {{each items as #item, #index}}