Permalink
Browse files

update readme and history doc

  • Loading branch information...
1 parent 5e37fea commit d8f5e15184eb6e2471b66e1b763ef120c3696b29 @sandywalker committed Oct 18, 2016
Showing with 18 additions and 5 deletions.
  1. +8 −1 HISTORY.md
  2. +6 −0 README.md
  3. +1 −1 bower.json
  4. +1 −1 demo/test-issue195.html
  5. +1 −1 package.json
  6. +1 −1 webui-popover.jquery.json
View
@@ -2,7 +2,14 @@
# History
-### 1.2.15
+### 1.2.17
+* fixed some bugs
+* add new global method 'updateContentAsync' for async mode.
+* add new global method 'setDefaultOptions'
+
+
+### 1.2.16
+* fixed some bugs.
### 1.2.14
View
@@ -275,6 +275,11 @@ WebuiPopovers.updateContentAsync('.btn-showpop','http://someUrl');
```
+//Set global default options
+WebuiPopovers.setDefaultOptions(options);
+
+```
+
Full Methods
```js
@@ -285,6 +290,7 @@ Full Methods
WebuiPopovers.isCreated(selector); // Check if the popover is already create and bind to the selector.
WebuiPopovers.updateContent(selector,newContent) //Update the Popover content after the popover is created.
WebuiPopovers.updateContentAsync(selector,url) //Update the Popover content asynchronously after the popover is created.
+ WebuiPopovers.setDefaultOptions(options) //Change the global default options.
```
View
@@ -1,6 +1,6 @@
{
"name": "webui-popover",
- "version": "1.2.16",
+ "version": "1.2.17",
"authors": [
"sandywalker <sanddywalker@gmail.com>"
],
@@ -41,7 +41,7 @@
</head>
<body>
<p>&nbsp;</p>
- &nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="btn btn-default btn-showpop" data-placement="right-bottom">show Pop</a>
+ &nbsp;&nbsp;&nbsp;&nbsp;<a href="#" class="btn btn-default btn-showpop" data-width="500" data-height="400" data-placement="right-bottom">show Pop</a>
<div class="webui-popover-content">
<p>popover content</p>
</div>
View
@@ -4,7 +4,7 @@
"description": "A enhancement popover plugin for Bootstrap ,but you can use it stand-alone without Bootstrap!",
"author": "Sandy Duan <sanddywalker@gmail.com>",
"homepage": "https://github.com/sandywalker/webui-popover",
- "version": "1.2.16",
+ "version": "1.2.17",
"license": "MIT",
"devDependencies": {
"grunt": "~0.4.1",
@@ -8,7 +8,7 @@
"webui",
"pop"
],
- "version":"1.2.16",
+ "version":"1.2.17",
"author": {
"name": "Sandy Duan",
"email": "sanddywalker@gmail.com",

0 comments on commit d8f5e15

Please sign in to comment.