Skip to content

Commit 5005b2d

Browse files
committed
Merge branch 'master' of github.com:720kb/angular-tooltips
2 parents 9adc1bd + efdbdf6 commit 5005b2d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Readme.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,19 @@ tooltip-class="" | String() | false | Set custom tooltip CSS class/classes
9393
tooltip-size="" | String('large', 'small') | 'medium' | Set your tooltip dimensions
9494
tooltip-speed="" | String('fast', 'slow', 'medium') | 'medium' | Set your tooltip show & hide transition speed
9595

96+
##Globals
97+
Sometimes you may need to set all of your tooltips options in one place, you can achieve this using `tooltipConfProvider` like this:
98+
99+
```javascript
100+
.config(['tooltipsConfProvider', function configConf(tooltipsConfProvider) {
101+
tooltipsConfProvider.configure({
102+
'smart':true,
103+
'size':'large',
104+
'speed': 'slow'
105+
});
106+
}])
107+
```
108+
96109
## Example
97110

98111
###[Live demo](https://720kb.github.io/angular-tooltips)

0 commit comments

Comments
 (0)