Skip to content

0.4.13

Compare
Choose a tag to compare
@Stabzs Stabzs released this 30 Oct 15:12
· 154 commits to master since this release
  • Add option in function toaster.pop() , toastId to define 'uid', use the function 'toaster.clear ()'
var _toaster = {
                    type:      null,
                    title:     null,
                    body:      null,
                    timeout:   null,
                    toasterId: 'CategoryMenu',
                    toastId:   'CategoryMenuAlert'
                }
  • Add option in function toaster.clear()
    • toaster.clear(); --> clearAll with ToasterId = undefined;
    • toaster.clear('*'); -> ClearAll()
    • toaster.clear('clearID'); -> clearAll() with toaster have ToasterId = 'clearID'
  • toaster.clear('clearID', 'toastID'); -> Just clearAll with toasts have uid = 'toastID' in ToasterId = 'clearID'.