BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
(created)="onCreated()"
// Set base values for Tooltip at moment of creation
onCreated() {
let tooltipObj = (this.scheduleObj.element as any).ej2_instances[1];
// Disable the tooltip to follow the mouse pointer position
tooltipObj.mouseTrail = false;
// Open delay for 1 second
tooltipObj.openDelay = 1000;
}
onCreated() {
// Assigning the tooltip object to the tooltipObj variable.
let tooltipObj = (this.scheduleObj.element as any).ej2_instances[2];
// Disable the tooltip to follow the mouse pointer position
tooltipObj.mouseTrail = false;
// Setting tooltip open delay
tooltipObj.openDelay = 1000;
// Setting the position to the tooltip
tooltipObj.position = "TopCenter";
} |
let tooltipObj = (this.scheduleObj.element as any).ej2_instances[2];
export class AppComponent {
@ViewChild("scheduleObj")public scheduleObj: ScheduleComponent;
// Flag variable to set up the delay to the schedule tooltip
public isTootipDelayApplied: boolean = false;
// Set base values for Tooltip at moment of creation
onDataBound() {
if (!this.isTootipDelayApplied) {
let tooltipObj = (this.scheduleObj.element as any).ej2_instances[2];
// Disable the tooltip to follow the mouse pointer position
tooltipObj.mouseTrail = false;
// Setting tooltip open delay
tooltipObj.openDelay = 1000;
// Setting the position to the tooltip
tooltipObj.position = "TopCenter";
this.isTootipDelayApplied = true;
}
}
} |