Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ Protip related attributes will always get a pt namespace so Protip won't conflic
| **auto-hide** | false | *Bool, Number* | Tooltip will hide itself automatically after this timeout (milliseconds). |
| **auto-show** | false | *Bool* | Automatically show tooltip for this element on load (stickies will be shown anyway). |
| **mixin** | undefined | *String* | Tooltip mixins to use. Separated by spaces. |
| **background** | undefined | *String* | You can specify the tooltip background with this option. (Eg: "#333", "rgba(20,20,20,.8)") |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New props should be added to demo also.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What demo? Do you mean the test folder or http://protip.rocks/ ?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the website.

| **color** | undefined | *String* | You can specify the font color with this option. |
| **border** | undefined | *String* | You can specify the border color with this option, null for no border. (The border will always be 1px) |

## jQuery Helpers
```javascript
Expand Down Expand Up @@ -213,22 +216,22 @@ el.protipShow({
# Gravity

## List of available positions
- corner-left-top
- top-left-corner
- top-left
- top
- top-right
- corner-right-top
- top-right-corner
- right-top
- right
- right-bottom
- bottom-left
- bottom
- bottom-right
- corner-right-bottom
- bottom-right-corner
- left-top
- left
- left-bottom
- corner-left-bottom
- bottom-left-corner

![Available Protip positions](https://raw.githubusercontent.com/wintercounter/Protip/master/img/docs-positions.png)

Expand Down
Loading