this.customBoldText = 'Custom bold text stored in variable';
this.customItalicText = 'Custom italic text stored in variable';
this.customUnderlineText = 'Custom underline text stored in variable';
this.customLinkText = 'Custom link text stored in variable';
L10n.load({
'en-US': {
'richtexteditor': {
bold: this.customBoldText,
italic: this.customItalicText,
underline: this.customUnderlineText,
createLink: this.customLinkText
}
}
}); |
Hi Team,
can you guys please help me with creating a link for a text on a pop-up window.
Thank you Vinitha Devi Murugan
Hi Vinitha Devi Murugan and Vengatesh maniraj,
hope you guys doing great,
i am trying to create a pop-up on a pop-up tab PFA screenshot.....
while i click "click here" its opening in the bottom the way it looks in picture but i want it as a pop-up
can you guys please help me with that
<div class="control-section">
<ejs-schedule width="100%" height="500px" [selectedDate]="selectedDate" [eventSettings]="eventSettings" [(currentView)]="currentView" (popupOpen)="onPopupOpen($event)" > </ejs-schedule> <!-- Render the alert Dialog --> <div class="dialog-section"> <ejs-dialog #alertDialog id="dialog" [buttons]="alertDlgButtons" [visible]="hidden" [header]="alertHeader" [animationSettings]="animationSettings" [content]="alertContent" [showCloseIcon]="showCloseIcon" [target]="target" [width]="alertWidth" > </ejs-dialog> </div> </div> |
public onPopupOpen(args): void {
if ( args.type === 'QuickInfo' && args.target.classList.contains('e-appointment') ) { var div = document.createElement('Button'); div.classList.add('e-subject-btn'); this.appointmentData = args.data; div.innerHTML = args.data.Subject; div.addEventListener('click', this.customClick.bind(this)); args.element.querySelector('.e-event-popup .e-subject-wrap').append(div); } } public customClick(args) { this.alertDialog.content = this.appointmentData.Reason; this.alertDialog.show(); this.appointmentData = null; } |
#dialog {
top: 510px !important; } |