Where should the onchange method be written in functional programming?

Where should the

onchange method be written in functional programming?

render: (h, params) => {
    return h("div", [

      h("Switch",
        {
          props: {
            size:"large",
          },
          on: {
            
          }
        },
        )
      ],
    )
  }
Mar.03,2021

on: {

onChange{

}

}
time is to be put in on
there is also an official nativeOn document to see

Menu