enter on login + animate in snaptobus

This commit is contained in:
STEINNI
2025-09-22 19:49:33 +00:00
parent 1641f5b07e
commit 7c6047462f
4 changed files with 30 additions and 133 deletions
+4 -4
View File
@@ -42,15 +42,15 @@ class MainDashboardView extends EICDomContent {
{
chan: 'gps:agents', // What to subscribe to
events: [ // What to select on this chan
{ eventName: 'moving',
{ eventName: 'moving', // which event will trigger a change
snaps: [
{
selector: '#${aid}',
assign: {
selector: '#${aid}', // what svg elements do we change ?
assign: { // what do we change and with what from the payload ?
cx: 'attrs.x',
cy: 'attrs.y',
},
animate: true
animate: true
}
]
},