
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
use-guide-tiny
Advanced tools
$ npm i useGuide_blade --save
New user guide plugin use in web page. Totally DIY your guide content. Online Demo
Easy | Configurable | Customize
import useGuide_blade from "useGuide_blade";
// your prepared guiders HTMLs may like this.
<div class="guider g1">
<p>step1 hi,我移动到这里了!</p>
<button class="next">下一步</button>
</div>
<div class="guider g2">
<p>step2 hi,我移动到这里了!</p>
<button class="back">上一步</button>
<button class="next">下一步</button>
</div>
<div class="guider g3">
<p>step3 hi,我移动到这里了!</p>
<button class="back">上一步</button>
<button class="next">完成</button>
</div>
// your JS may like this.
let guider = new guideQueue({
autoPlay: {
interval: 1000,
allowDisturb: false,
loop: 2,
},
coverStyle: {
'font-size': '20px'
},
onFinished: ()=>{
console.log('finished')
}
});
// add guiders on batch way
const tasks = [{
targetEl: '.dashboard', //targe element of add a guider
position: 'left', //in which position above the target element
guideDom: document.querySelector('.g1'), //prepare the guider element
backEl: '.back', // if not support this, use guider.back() to handle back move
nextEl: '.next', // if not support this, use guider.next() to handle next move
interval: 1000, // if support this, it can replace this.autoPlay.interval
}, {
targetEl: '.safe_center',
position: 'left',
guideDom: document.querySelector('.g2'),
backEl: '.back',
nextEl: '.next',
}];
guider.mutilSub(tasks); // batch subscription guide content
// add guider on single way
guider.sub({
targetEl: '#gotop', //targe and exist element to add a guider (.xxx or #xxx)
position: 'right', //in which position above the target element
guideDom: document.querySelector('.g3'), //prepare the guider element
nextEl: '.nextbtn', // if not support this, use guider.next() to handle next move
})
guider.play();
// you can call guider.destory() to exit guidpage earlier
interface autoPlayProps {
interval: Number; // auto play interval time (ms)
loop?: Number; //loop times 0-N 0 means no loop
allowDisturb?: Boolean, //is allow user disturb auto paly status. if set true, after user click next/back, the autoplay will be closed.
}
interface guiderOptionsProps {
autoPlay?: autoPlayProps; // what kind playing status would you like
coverStyle?: Object; // customize background cover styles
onFinished?: Function; // on finished callback function
}
interface guideContentProps {
targetEl: String; // targe element of add a guider (`.el` or`#el` are both ok.)
position: String; // in which position above the target element
guideDom: [DOM String]; // prepare the guider element
backEl?: String; // if not support this, use guider.back() to handle back move
nextEl?: String; // if not support this, use guider.next() to handle next move
}
let guider = new guiderQuene(guiderOptionsProps); // instantiate
guider.mutilSub(guideContentProps); // batch subscription guide content
guider.sub(guideContentProps); // single subscription guide content
guider.back(); // play previous
guider.next(); // play next
guider.play(); // start playing guide contents
guider.destory(); // destroy guider instance and exit guide page
FAQs
#### Install >$ npm i useGuide_blade --save
We found that use-guide-tiny demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.