layui Events Discussion

layui user interaction, there are many ways:

First, set the id to the control, define the event after obtaining the id in the script

 

Second, the onclick defined directly in the label control to invoke

 

Three, lay-href on the page with the jump

 

Four, data-type

 

五、lay-event

 

Six, lay-filter

 

Guess you like

Origin www.cnblogs.com/zhangxj/p/11268918.html