迷你型 UI 库 Flippant.js

码农软件 · 软件分类 · 其他jQuery插件 · 2020-01-05 06:27:10

软件介绍

Flippant.js 是 DOM 节点上的一个迷你型 UI 库。具有以下特征:

Features:

  • Flippant 极小,不依赖任何其他而存在

  • Flippant 易于自定义,只有几个参数和 CSS

  • Flippant 有一个独特功能: flippant.flip

Flippant.js – Javascript Library for Flipping Elements

代码示例:

var front = document.getElementById('flipthis')
  , back_content = "<h1>I'm the back!</h1>" // Generate or pull any HTML you want for the back.
  , back

// when the correct action happens, call flip!
back = flippant.flip(front, back_content)
// this creates the back element, sizes it and flips it around.

// call the close method on the back element when it's time to close.
back.close()
// alternatively you can trigger a close event on the back element if you fancy.
var close_event = new CustomEvent('close')
back.dispatchEvent(close_event)


本文地址:https://codercto.com/soft/d/22686.html

JavaScript实战手册

JavaScript实战手册

David Sawyer McFarland / 李强 / 机械工业出版社 / 2009 / 89.00元

在《JavaScript实战手册》中,畅销书作者David McFarland教你如何以高级的方式使用JavaScript,即便你只有很少或者没有编程经验。一旦掌握了这种语言的结构和术语,你将学习如何使用高级的JavaScript工具来快速为站点添加有用的交互,而不是一切从头开始编写脚本。和其他的Missing Manuals图书不同,《JavaScript实战手册》清楚、精炼,手把手地讲解。 ......一起来看看 《JavaScript实战手册》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试