Skip to content

Commit

Permalink
RUC-UP exemplo
Browse files Browse the repository at this point in the history
  • Loading branch information
reginaldo.marinho committed May 18, 2024
1 parent 11893b2 commit 5e83185
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,23 @@ import { callbackYesNo } from "./src/popup/callback";

form?.addEventListener('r-a-save.click',(e) => {

rucula.popup.messsage.info({text:"Registrando...", timeout:500, disableadFooter:true});
setTimeout(() =>
rucula.popup.messsage.sucess({text:"Informações Registradas", timeout:1000, disableadFooter:true})
,2000)
rucula.popup.messsage.info({
text:"Registrando...",
timeout:500,
disableadFooter:true
},
() => rucula.popup.messsage.sucess({
text:"Informações Registradas",
timeout:1000,
disableadFooter:true
})

);
})

form?.addEventListener('r-a-alter.click',(e) => {

rucula.popup.messsage.sucess({text:"Informações Alteradas"})

})

form?.addEventListener('r-a-delete.click',(e) => {
Expand Down

0 comments on commit 5e83185

Please sign in to comment.