I am creating a custom directive called TooltipDirective whihc is going to add matTooltip to every host element, code is like below In my html I have two elements to compare the result in the result html tooltip and mattooltip attributes are added but it doesn’t show the tooltip. and rendered html is like below I tried adding other extra
Tag: angular-material2
how to define index in angular material table
how should I define an index variable when angular material table is used as ngFor is not used in this table. I did search for it in the documentation but index is not mentioned any where in it. where and how do i define an index variable for the array that I used in this table, so that I can
Angular change MatInput Size
I am new to Angular 4 and started working with the material components, I copied a couple of example from the official documentation but didn’t get the same result as the documentation : How do I get change the textbox width ? I tried style=”width: 200px;” style=”width:100%”; class=”col-md-x” But none of them worked, second thing is how to center that
Change language of Datepicker of Material Angular 4
How to Change language of Datepicker of Material Angular? I can’t find in documentation for Angular material 2. Here is a plunkr https://plnkr.co/edit/unzlijtsHf3CPW4oL7bl?p=preview Answer