Lines Matching refs:onClick
54 Button("addProcessorTest").onClick(()=>{
83 …c/main/ets/ pages/Index.ets** file, add the **userIdTest** button with **onClick()** to obtain the…
86 Button("userIdTest").onClick(()=>{
87 // Set the user ID in onClick().
90 // Obtain the user ID set in onClick().
96 …n/ets/pages/Index.ets** file, add the **userPropertyTest** button with **onClick()** to obtain the…
99 Button("userPropertyTest").onClick(()=>{
100 // Set the user property in onClick().
103 // Obtain the user property in onClick().
109 4. In the **entry/src/main/ets/pages/index.ets** file, add the **writeTest** button with **onClick(…
112 Button("writeTest").onClick(()=>{
113 // In onClick(), use hiAppEvent.write() to log an event when the button is clicked.
133 …ts/pages/index.ets** file, add the **removeProcessorTest** button with **onClick()** to remove the…
136 Button("removeProcessorTest").onClick(()=>{