carlw
12/27/2016, 1:17 PMedvin
12/27/2016, 1:19 PMcarlw
12/27/2016, 1:20 PMedvin
12/27/2016, 1:22 PMwhen(target)
but it should have been when(source)
. The target is obviously the this
.edvin
12/27/2016, 1:22 PMcarlw
12/27/2016, 1:23 PMedvin
12/27/2016, 1:23 PMedvin
12/27/2016, 1:23 PMedvin
12/27/2016, 1:23 PMgoto(target: KClass<UIComponent>)
and also view parameters, but this gets the point across.edvin
12/27/2016, 1:29 PMedvin
12/27/2016, 1:30 PMcarlw
12/27/2016, 1:32 PMedvin
12/27/2016, 1:33 PMopenModal()
edvin
12/27/2016, 1:35 PMedvin
12/27/2016, 1:38 PMedvin
12/27/2016, 1:38 PMedvin
12/27/2016, 1:39 PMcarlw
12/27/2016, 1:39 PMedvin
12/27/2016, 1:40 PMedvin
12/27/2016, 1:40 PMcarlw
12/27/2016, 1:40 PMedvin
12/27/2016, 1:59 PMedvin
12/27/2016, 1:59 PMis MyOtherView -> if (source.isDocked) source.replaceWith(this) else openModal()
edvin
12/27/2016, 2:06 PMcarlw
12/27/2016, 2:07 PMcarlw
12/27/2016, 2:09 PMcarlw
12/27/2016, 2:10 PMpermalmberg
12/27/2016, 2:10 PMedvin
12/27/2016, 2:11 PMNavigation.goto
doesn't receive info about which UIComponent
you go from, so you only know the target, is that right?edvin
12/27/2016, 2:11 PM