"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/shared/menu/menu-item/onclick-menu-item.component.ts" between
dspace-angular-dspace-7.0.tar.gz and dspace-angular-dspace-7.1.tar.gz

About: dspace-angular is the Angular-based frontend of DSpace, a digital repository system to capture, store, index, preserve and redistribute an organization’s research material in digital formats.

onclick-menu-item.component.ts  (dspace-angular-dspace-7.0):onclick-menu-item.component.ts  (dspace-angular-dspace-7.1)
skipping to change at line 20 skipping to change at line 20
selector: 'ds-onclick-menu-item', selector: 'ds-onclick-menu-item',
styleUrls: ['./onclick-menu-item.component.scss'], styleUrls: ['./onclick-menu-item.component.scss'],
templateUrl: './onclick-menu-item.component.html' templateUrl: './onclick-menu-item.component.html'
}) })
@rendersMenuItemForType(MenuItemType.ONCLICK) @rendersMenuItemForType(MenuItemType.ONCLICK)
export class OnClickMenuItemComponent { export class OnClickMenuItemComponent {
item: OnClickMenuItemModel; item: OnClickMenuItemModel;
constructor(@Inject('itemModelProvider') item: OnClickMenuItemModel) { constructor(@Inject('itemModelProvider') item: OnClickMenuItemModel) {
this.item = item; this.item = item;
} }
public activate(event: any) {
event.preventDefault();
this.item.function();
event.stopPropagation();
}
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)