Skip to main content

Making widgets using WLX

Here is a small example of interactive plot

Download original notebook
.wlx

Module[{Slider = InputRange[0.1,1,0.1,0.5], Figure, lines},
  EventHandler[Slider, Function[s, lines = {#, Sinc[#/s]}& /@ Range[-5,5,0.1]]];
  Slider // EventFire;

  Figure = Graphics[Line[lines // Offload], ImageSize->350, Axes->{True, False}];

  <div style="display: flex">
    <div><Slider/></div>
    <div><Figure/></div>
  </div>
]
<div style="display: flex"><div >FrontEndExecutable[e46061d2-5f59-4f8b-8024-58de97171d0e]</div><div >FrontEndExecutable[b044de05-f00c-4060-b3aa-c23288f65cc8]</div></div>