alpine.js示例代码
代码语言:html
所属分类:其他
代码描述:alpine.js示例代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>alpine</title> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/alpine.min.js"></script> </head> <body> <div x-data="{ open: false }"> <button @click="open = true">Open Dropdown</button> <ul x-show="open" @click.away="open = false" > Dropdown Body </ul> </div> <div.........完整代码请登录后点击上方下载按钮下载查看
网友评论0