ef.js Particle Update Demo

by Yukino Song

HTML

<script src="https://cdn.jsdelivr.net/npm/ef.js@latest"></script>

JavaScript

(new ef.t`
>div
  .Input 1: 
  >input
    %value = {{input1 = a}}
  >br
  .Input 2: 
  >input
    %value = {{input2 = b}}
  >br
  .Input 3: 
  >input
    %value = {{input3 = c}}
  >br
  .Mixed output: 
  >input
    %value = 1:{{input1}} 2:{{input2}} 3:{{input3}}
    /#disabled
`).$mount({target: document.body})