Closed Rui90 closed 5 years ago
Hello
I'm using Angular 8 and I followed your tutorial. My application is already using foundation, but I wanted to use the tooltips.
So I've installed via npm install ngx-foundation foundation-sites --save
npm install ngx-foundation foundation-sites --save
I've added the TooltipModule.forRoot() to my app.module.ts
And I made those two imports:
// Import Foundation for Sites // See https://foundation.zurb.com/sites/docs/sass.html for detailed info. @import '~foundation-sites/scss/foundation'; @include foundation-everything; // Import Angular ngx-foundation Framework Added Styles @import "~ngx-foundation/assets/scss/main";
Then I've finally created a simple button like in your example:
<button type="button" class="button primary" tooltip="Vivamus sagittis lacus vel augue laoreet rutrum faucibus."> Simple demo </button>
But the result was basically nothing:
<button _ngcontent-wmt-c4="" class="button primary" tooltip="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." type="button"> Simple demo </button>
The tooltip is not rendered. Any idea why?
Hello
I'm using Angular 8 and I followed your tutorial. My application is already using foundation, but I wanted to use the tooltips.
So I've installed via
npm install ngx-foundation foundation-sites --save
I've added the TooltipModule.forRoot() to my app.module.ts
And I made those two imports:
Then I've finally created a simple button like in your example:
But the result was basically nothing:
The tooltip is not rendered. Any idea why?