Part 4: join()

Enter, Update, and Exit conditions can be handled in one go with join()

Join in motion

Re-runs every 2 seconds with a randomised array.

Values:

Overriding join defaults

By default join will append on 'enter' and remove on 'exit'. These can be configured by providing separate functions for each condition.

Play with the code

Some suggestions:

  • The code appends green circles on enter - how could you change the code or markup to get this to show?