p-text
p-text
allows you to set the text of an element, the value of this attribute can be any valid python expression.
It can be any type, not necessarily string.
Simple value
Using value from the store
You can use p-text
to replace text with a value from the store, here is a little example :
Playing with f string
You can use f string in p-text
(and in all others p-
attribute)