onCodeLoaded

open fun onCodeLoaded(app: TreehouseApp<*>, view: TreehouseView<*>, initial: Boolean)

Invoked each time new code is loaded. This is called after the view's old children have been cleared but before the children of the new code have been added.

Parameters

initial

true if this is the first code loaded for this view's current content.