enter on login + animate in snaptobus
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user