@@ -26,7 +26,7 @@ import { DialogConfig } from "./dialog-config.interface";
2626 */
2727@Directive ( {
2828 selector : "[ibmDialog]" ,
29- exportAs : "nDialog " ,
29+ exportAs : "ibmDialog " ,
3030 providers : [
3131 DialogService
3232 ]
@@ -43,7 +43,7 @@ export class DialogDirective implements OnInit, OnDestroy, OnChanges {
4343 * @type {(string | TemplateRef<any>) }
4444 * @memberof DialogDirective
4545 */
46- @Input ( ) nDialog : string | TemplateRef < any > ;
46+ @Input ( ) ibmDialog : string | TemplateRef < any > ;
4747 /**
4848 * Defines how the Dialog is triggered.(Hover and click behave the same on mobile - both respond to a single tap)
4949 * @type {("click" | "hover" | "mouseenter") }
@@ -66,7 +66,7 @@ export class DialogDirective implements OnInit, OnDestroy, OnChanges {
6666 * @type {number }
6767 * @memberof DialogDirective
6868 */
69- @Input ( ) gap = 10 ;
69+ @Input ( ) gap = 0 ;
7070 /**
7171 * Value `true` sets Dialog be appened to the body (to break out of containers)
7272 * @type {boolean }
@@ -122,7 +122,7 @@ export class DialogDirective implements OnInit, OnDestroy, OnChanges {
122122 // set the config object (this can [and should!] be added to in child classes depending on what they need)
123123 this . dialogConfig = {
124124 title : this . title ,
125- content : this . nDialog ,
125+ content : this . ibmDialog ,
126126 placement : this . placement ,
127127 parentRef : this . elementRef ,
128128 gap : this . gap ,
@@ -140,7 +140,7 @@ export class DialogDirective implements OnInit, OnDestroy, OnChanges {
140140 * @memberof DialogDirective
141141 */
142142 ngOnInit ( ) {
143- // fix for safari highjacking clicks
143+ // fix for safari hijacking clicks
144144 document . body . firstElementChild . addEventListener ( "click" , ( ) => null , true ) ;
145145
146146 // bind events for hovering or clicking the host
0 commit comments