diff --git a/README.md b/README.md index 6b8cbc8..e0aeafb 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,14 @@ Note: if words element not contains color property, default will use [d3 schemeC * `width=[number]` * `padding=[number]` -> [optional] padding for each word, defaults to `5` * `rotate=[number, function]` -> [optional] rotation for each word, default to `~~(Math.random() * 2) * 60` -* `use-tooltip=[boolean]` -* `use-transition=[boolean]` +* `use-tooltip=[boolean]` default tooltip template +* `use-transition=[boolean]` transition with font size * `on-click=[function]` -> word clicked callback ## Directive Usage ## ```html
width=[number]
padding=[number]
-> [optional] padding for each word, defaults to 5
rotate=[number, function]
-> [optional] rotation for each word, defaults to ~~(Math.random() * 2) * 60
use-tooltip=[boolean]
-> [optional] default tooltip templateuse-transition=[boolean]
-> [optional] transition with font sizeon-click=[function]
-> word clicked callback