Skip to content

stopsopa/skill-popover-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install:

npm install -g skills
npx skills add stopsopa/skill-popover-api

Examples of prompts:


Use popover api skill to render element with id **popover** on top of button
with class **trigger**.
Use class **bottom** for positioning the popover.
Popover should show and hide (toggle) every time I press **button.trigger**
In the corner of the popover render "x" button which once clicked should close the popover.

(To find positioning class you like go to demo page. To see what options are available)


Use popover api skill to show popover (element with id **popover**) every time
user hovers over element with class **.hover**.
Use positioning class **right-top** from available list