Autodeploy (f922b91d) at 27 Mar 09:58
feature: bind-attributes with id + @id
Jean-Baptiste Pasquier (f922b91d) at 27 Mar 09:54
Benoit Alessandroni (f922b91d) at 27 Mar 09:54
feature: bind-attributes with id + @id
Improves !71
I still request the resource from the store, because the necessity of a sync function here. I can add few more core to handle both case, but it'll add more loops to check attributes before render them.
Improves !71
I still request the resource from the store, because the necessity of a sync function here. I can add few more core to handle both case, but it'll add more loops to check attributes before render them.
Improves !71
I still request the resource from the store, because the necessity of a sync function here. I can add few more core to handle both case, but it'll add more loops to check attributes before render them.
Jean-Baptiste Pasquier (f922b91d) at 26 Mar 17:26
feature: bind-attributes with id + @id
Autodeploy (fc4c157d) at 26 Mar 15:48
add: link to example on index
Jean-Baptiste Pasquier (fc4c157d) at 26 Mar 15:44
bind-attributes
and bind-xyz
.<solid-display
data-src="/examples/data/users.jsonld"
bind-attributes
fields="first_name, text, other_user_first_name"
value-text=" likes "
bind-value-other_user_first_name="first_name">
</solid-display>
When visiting /path/to/file/@%2Fexamples%2Fdata%2Fuser-1.jsonld@
will display every user's first name, and all of them will like user-1!
<solid-display
data-src="/examples/data/user-2.jsonld"
bind-attributes
fields="first_name, text, other_user_first_name"
value-text=" likes "
bind-value-other_user_first_name="first_name">
</solid-display>
When visiting /path/to/file/@%2Fexamples%2Fdata%2Fuser-1.jsonld@
will display user-2 first name and he will like user-1!
value-xyz
is modified it does not populate the related solid-display.bind-attributes
and bind-xyz
.<solid-display
data-src="/examples/data/users.jsonld"
bind-attributes
fields="first_name, text, other_user_first_name"
value-text=" likes "
bind-value-other_user_first_name="first_name">
</solid-display>
When visiting /path/to/file/@%2Fexamples%2Fdata%2Fuser-1.jsonld@
will display every user's first name, and all of them will like user-1!
<solid-display
data-src="/examples/data/user-2.jsonld"
bind-attributes
fields="first_name, text, other_user_first_name"
value-text=" likes "
bind-value-other_user_first_name="first_name">
</solid-display>
When visiting /path/to/file/@%2Fexamples%2Fdata%2Fuser-1.jsonld@
will display user-2 first name and he will like user-1!
value-xyz
is modified it does not populate the related solid-display.But if I create a solid-widget that does nothing more than the solid display value, I'll not need this populate, it'll work as is.
Benoit Alessandroni (fc4c157d) at 26 Mar 09:36
add: link to example on index
Those populate shouldn't be required. Bug core? Whenever a
value-xyz
is modified it does not populate the related solid-display.
I think it is only done for specific attributes like the data-src.
bind-attributes
and bind-xyz
.<solid-display
data-src="/examples/data/users.jsonld"
bind-attributes
fields="first_name, text, other_user_first_name"
value-text=" likes "
bind-value-other_user_first_name="first_name">
</solid-display>
When visiting /path/to/file/@%2Fexamples%2Fdata%2Fuser-1.jsonld@
will display every user's first name, and all of them will like user-1!
<solid-display
data-src="/examples/data/user-2.jsonld"
bind-attributes
fields="first_name, text, other_user_first_name"
value-text=" likes "
bind-value-other_user_first_name="first_name">
</solid-display>
When visiting /path/to/file/@%2Fexamples%2Fdata%2Fuser-1.jsonld@
will display user-2 first name and he will like user-1!
value-xyz
is modified it does not populate the related solid-display.Jean-Baptiste Pasquier (57785344) at 25 Mar 23:57
feature: bind-attributes & bind-xyz
Autodeploy (826d1c6c) at 25 Mar 18:54
feature: bind current resource to global object
Jean-Baptiste Pasquier (826d1c6c) at 25 Mar 18:49
Benoit Alessandroni (826d1c6c) at 25 Mar 18:49
feature: bind current resource to global object