創建簡單的Toast消息jQuery插件:simply-toast
創建簡單的Toast消息jQuery插件,所有CSS樣式都抽取自bootstrap, 所以假如你已經使用bootstrap,你就不需要引入simply-toast.cs文件了。
$.simplyToast('This is a success message!', 'success');$.simplyToast('This is a danger message!', 'danger');
$.simplyToast('This is a info message!', 'info');
$.simplyToast('This is also an info message!'); //'info' is the default type
$.simplyToast('This is a warning message!', 'warning');
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!