Doesn't Work
<ejs-tooltip #tool openDelay="270" position="RightCenter,LeftCenter">
Doesn't Work
<ejs-tooltip #tool openDelay="270" position="RightCenter | LeftCenter">
Doesn't Work
<ejs-tooltip #tool openDelay="270" position="'RightCenter' | 'LeftCenter'">
Yet your code does this ???
|
<ejs-tooltip #tooltip content='Lets go green & Save Earth !!!' style="display:block;position:absolute;left:calc( 50% - 60px);top:45%;">
<button ejs-button>Show Tooltip</button>
</ejs-tooltip>
<select id="positions" (change)="onChange($event.target.value)" class="form-control">
. . .
</select>
-------------------------------------------------------------------------
export class AppComponent {
//Handle tooltip position based on drop-down value change
onChange(value: string) {
this.control.position = value as Position;
}
}
|
Yep, but again, you don't set the position to multiples, I have seen the demo's and the documentation. I guess you are telling me that "position" can only be one value, not both LeftCenter and RightCenter whichever is more appropriate given the space around it. Is that correct?