File tree 1 file changed +12
-3
lines changed
packages/ember-glimmer/lib/components
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 296
296
@public
297
297
*/
298
298
299
+ import EmberComponent , { HAS_BLOCK } from '../component' ;
299
300
import { assert , warn } from '@ember/debug' ;
301
+ import { computed , get } from 'ember-metal' ;
302
+
303
+ import { DEBUG } from '@glimmer/env' ;
300
304
import { flaggedInstrument } from '@ember/instrumentation' ;
301
305
import { inject as injectService } from '@ember/service' ;
302
- import { DEBUG } from '@glimmer/env' ;
303
- import { computed , get } from 'ember-metal' ;
304
306
import { isSimpleClick } from 'ember-views' ;
305
- import EmberComponent , { HAS_BLOCK } from '../component' ;
306
307
import layout from '../templates/link-to' ;
307
308
308
309
/**
@@ -897,6 +898,14 @@ const LinkComponent = EmberComponent.extend({
897
898
this . set ( 'models' , [ ] ) ;
898
899
}
899
900
} ,
901
+
902
+ handleEvent ( ) {
903
+ let propagate = this . _super ( ...arguments ) ;
904
+ if ( this . bubbles === false ) {
905
+ return this . bubbles ;
906
+ }
907
+ return propagate ;
908
+ } ,
900
909
} ) ;
901
910
902
911
LinkComponent . toString = ( ) => '@ember/routing/link-component' ;
You can’t perform that action at this time.
0 commit comments