anchor.diff:  :sectnums:
   :toc: macro
   :icons: font
  -:sourcedir: kaadin-sampler/src/main/kotlin/ch/frankel/kaadin
  +:sourcedir: ../../../kaadin-sampler/src/main/kotlin/ch/frankel/kaadin
   :imagesdir: images/
   :experimental:
   
  
positive.code: 
  [source,kotlin]
  ----
  include::doc/NavigatorUI.kt[tags=navigatorui]
  ----
  
  <1> Configure the navigator with a placeholder layout. This also sets the layout as the content of the UI
  
negative.code: 
  [source,kotlin]
  ----
  include::{sourcedir}/doc/SetThemeUI.kt[tags=setthemeui]
  ----
  
  <1> Define the listener function as a lambda function
  