Skip to content

Instantly share code, notes, and snippets.

@fxxkscript
Created August 21, 2013 07:14
Show Gist options
  • Select an option

  • Save fxxkscript/6291220 to your computer and use it in GitHub Desktop.

Select an option

Save fxxkscript/6291220 to your computer and use it in GitHub Desktop.
弹出层代码示例
/**
* 依赖components/modal/modal
* /
Modal.initialize({
type: 'material' // 微博图文素材类型是 material
}).setChooseItemCallback(function(data) {
//选择一个图文素材的 callback
}).modal('show');// 使弹出层显示
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment