Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 10af6a8

Browse files
committed
Revert tooltipTemplateUrlCache default to false.
1 parent f8d4aa6 commit 10af6a8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ tooltip-template="" | String() | '' | Set your tooltip template (HTML or just Te
8686
| | | **to know**: don't use it together with `tooltip-template-url` attribute, use only one of them
8787
tooltip-template-url="" | String() | '' | Set your external tooltip template PATH
8888
| | | **to know**: don't use it together with `tooltip-template` attribute, use only one of them
89-
tooltip-template-url-cache="" | String(Boolean) | true | This attribute stores and retrieves the template from the cache
89+
tooltip-template-url-cache="" | String(Boolean) | false | This attribute stores and retrieves the template from the cache
9090
tooltip-controller="" | String() | '' | Set a controller to your external tooltip template
9191
tooltip-smart="" | String(Boolean) | false | Set the tooltip to automatically search the best position on the screen
9292
tooltip-show-trigger="" | String('event1 event2') | 'mouseover' | Show the tooltip on specific event/events
@@ -109,7 +109,7 @@ Sometimes you may need to set all of your tooltips options in one place, you can
109109
'smart': true,
110110
'size': 'large',
111111
'speed': 'slow',
112-
'tooltipTemplateUrlCache': false
112+
'tooltipTemplateUrlCache': true
113113
//etc...
114114
});
115115
}])

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,14 +341,16 @@
341341

342342
<div>
343343
<span tooltips
344-
tooltip-template-url="demo/views/template-url-cache.html">
344+
tooltip-template-url="demo/views/template-url-cache.html"
345+
tooltip-template-url-cache="true">
345346
Tooltip using templateUrlCache
346347
</span>
347348
</div>
348349

349350
<div>
350351
<span tooltips
351-
tooltip-template-url="demo/views/template-url-cache.html">
352+
tooltip-template-url="demo/views/template-url-cache.html"
353+
tooltip-template-url-cache="true">
352354
Tooltip using templateUrlCache
353355
</span>
354356
</div>

lib/angular-tooltips.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
'closeButton': false,
216216
'size': '',
217217
'speed': 'steady',
218-
'tooltipTemplateUrlCache': true,
218+
'tooltipTemplateUrlCache': false,
219219
'show': null
220220
};
221221

0 commit comments

Comments
 (0)