Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct Typos in README.md #128

Merged
merged 2 commits into from
Jul 4, 2016
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can import `node_modules/react-tooltip/standalone/react-tooltip.min.js` into
Notes:
* The tooltip is using `type: dark` `place: top` `effect: float` as **default** attribute, you don't have to add these options if you don't want to change default
* The option you set on `<ReactTooltip />` component will be implemented on every tooltip in a same page: `<ReactTooltip effect="solid" />`
* The option you set on specific elecment, for example: `<a data-type="warning"></a>` will only make effect on this specific tooltip
* The option you set on specific element, for example: `<a data-type="warning"></a>` will only make effect on this specific tooltip

Check example: [React-tooltip Test](http://wwayne.com/react-tooltip)

Expand All @@ -53,7 +53,7 @@ Global|Specific |Type |Values | Description
event | data-event | String | e.g. click | custom event to trigger tooltip
eventOff | data-event-off | String | e.g. click | custom event to hide tooltip (only makes effect after setting event attribute)
globalEventOff | | 'string'| e.g. click| global event to hide tooltip (global only)
isCapture | data-iscapture | Bool | true, false | when set to ture, custom event's propagation mode will be capture
isCapture | data-iscapture | Bool | true, false | when set to true, custom event's propagation mode will be capture
offset | data-offset | Object | top, right, bottom, left | `data-offset="{'top': 10, 'left': 10}"` for specific and `offset={{top: 10, left: 10}}` for global
multiline | data-multiline | Bool | true, false | support `<br>`, `<br />` to make multiline
class | data-class | String | | extra custom class, can use !important to overwrite react-tooltip's default class
Expand Down