You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, there is $attributes object, however it does not contain props defined in @props directive. How can I get all props variables in one array? get_defined_vars() returns array of all defined variables, however there are also internal variables and the original attributes there contains more than props.
Also it would be useful to get all original attributes in documented way ($attributes + props).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, there is
$attributes
object, however it does not contain props defined in@props
directive. How can I get all props variables in one array?get_defined_vars()
returns array of all defined variables, however there are also internal variables and the originalattributes
there contains more than props.Also it would be useful to get all original attributes in documented way ($attributes + props).
Thank you
Beta Was this translation helpful? Give feedback.
All reactions