Skip to content

Commit

Permalink
update readme and history doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sandywalker committed Oct 18, 2016
1 parent 5e37fea commit d8f5e15
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
9 changes: 8 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,11 @@ WebuiPopovers.updateContentAsync('.btn-showpop','http://someUrl');
```

//Set global default options
WebuiPopovers.setDefaultOptions(options);

```

Full Methods

```js
Expand All @@ -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.
```


Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webui-popover",
"version": "1.2.16",
"version": "1.2.17",
"authors": [
"sandywalker <sanddywalker@gmail.com>"
],
Expand Down
2 changes: 1 addition & 1 deletion demo/test-issue195.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion webui-popover.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"webui",
"pop"
],
"version":"1.2.16",
"version":"1.2.17",
"author": {
"name": "Sandy Duan",
"email": "sanddywalker@gmail.com",
Expand Down

0 comments on commit d8f5e15

Please sign in to comment.