@ntdfx/jquery-hasattr
v1.0.2
Published
Simple jquery plugin to check whether an dom attribute exists or not.
Readme
Simple jquery plugin to check whether an dom attribute exists or not.
window.$ = require('jquery');
require('@ntdfx/jquery-hasattr').install()
$(()=>{
console.log( $('body').hasAttr('id') );
});