File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ import {
2121 IgxLabelDirective ,
2222 IgxButtonDirective ,
2323 IgxRippleDirective ,
24- IgxDropDownItemComponent
24+ IgxDropDownItemComponent ,
25+ IChangeCheckboxEventArgs
2526} from 'igniteui-angular' ;
2627import { IAnimationParams } from 'igniteui-angular/animations' ;
2728
@@ -81,8 +82,8 @@ export class OverlaySampleComponent implements OnInit {
8182 }
8283 }
8384
84- public onChange ( ev ) {
85- switch ( ev . radio . name ) {
85+ public onChange ( ev : IChangeCheckboxEventArgs ) {
86+ switch ( ev . owner . name ) {
8687 case 'ps' :
8788 this . removeSelectedClass ( 'direction' ) ;
8889 this . removeSelectedClass ( 'start-point' ) ;
@@ -240,8 +241,8 @@ export class OverlaySampleComponent implements OnInit {
240241 this . _overlaySettings . outlet = this . useOutlet ? this . outletElement : null ;
241242 }
242243
243- public onSwitchChange ( ev ) {
244- switch ( ev . switch . name ) {
244+ public onSwitchChange ( ev : IChangeCheckboxEventArgs ) {
245+ switch ( ev . owner . name ) {
245246 case 'close' :
246247 this . _overlaySettings . closeOnOutsideClick = ev . checked ;
247248 break ;
You can’t perform that action at this time.
0 commit comments