Skip to content

Commit

Permalink
Merge pull request #128 from gottsohn/master
Browse files Browse the repository at this point in the history
Correct Typos in README.md
  • Loading branch information
wwayne authored Jul 4, 2016
2 parents 0668598 + c72615e commit fcc29b9
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit fcc29b9

Please sign in to comment.