简体   繁体   中英

Is there any event that triggers right after the layout is applied in Roassal?

I would like to define animations right after applying the layout. This is important when the visualization is defined within the context of a Glamour browser.

Using the Mondrian DSL, you can use:

view nodes: (1 to: 20). view horizontalLineLayout on: ROLayoutEnd do: [:event | ... ].

Using the Roassal API, you can use: ROHorizontalLineLayout on: ROLayoutEvent do: [ :event | events add: event ]; applyOn: yourElements

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM