rk-fadein rk-fadeout rk-faderight rk-fadeleft rk-fadeup rk-fadedown rk-fadezoom-down rk-fadezoom-up rk-bounce rk-rotate3 rk-rotate3r
rk-fadein rk-fadein-f rk-fadein-vf
rkviewport(element,callback,offset);
1. <div id='id1'> something </div>
2. <div class="class1"> something </div>
-callback >>>> callback function have two parameter. first param if jquery element and second param is boolean that element is viewport in or out.
const callback = (el,res)=>{
if(res){
el.addClass('rk-fadein');
}else{
el.removeClass('rk-fadein');
}
}
rktoastmes(mes,position,decoration);
rktoastmes('hello message','bc',decoration);
rktoastmes('hello message','be','btn-dark');