PHP Classes

File: library/js/funcoes.js

Recommend this page to a friend!
  Classes of Rodrigo Faustino   Materialize PHP   library/js/funcoes.js   Download  
File: library/js/funcoes.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Materialize PHP
Manage user records in pages using Materialize CSS
Author: By
Last change:
Date: 20 days ago
Size: 451 bytes
 

Contents

Class file image Download
const PopUp = { exibeMensagem: (status, msg) => { if(status === 'success') // M.toast({ html: msg, classes: 'green', displayLength: 2000 }); var toastHTML = '<span><b style=color:green>Sucesso </b> Atualizado com Sucesso</span>'; M.toast({html: toastHTML, classes: 'rounded'}); if(status === 'error') M.toast({ html: msg, classes: 'red', displayLength: 2000 }); } } export default PopUp;