0๐
Is it possible to have the const "item" result in that alert body field?
My Answer is No, Why you want to bind constant in your HTML template ? As you already have item property in your data object. You can update the item value in that property instead of assigning that in const
.
For Ex : this.item = 'item value'
instead of const item = 'item value'
Source:stackexchange.com