mirror of
				https://github.com/richard-loafle/fuse-angular.git
				synced 2025-11-04 10:53:34 +00:00 
			
		
		
		
	Codebase improvements
This commit is contained in:
		
							parent
							
								
									70d895c6ed
								
							
						
					
					
						commit
						387077882b
					
				@ -16,7 +16,7 @@ export class FuseSearchBarComponent implements OnInit, OnDestroy
 | 
			
		||||
    toolbarColor: string;
 | 
			
		||||
 | 
			
		||||
    @Output()
 | 
			
		||||
    onInput: EventEmitter<any> = new EventEmitter();
 | 
			
		||||
    onInput: EventEmitter<any>;
 | 
			
		||||
 | 
			
		||||
    // Private
 | 
			
		||||
    private _unsubscribeAll: Subject<any>;
 | 
			
		||||
@ -31,6 +31,7 @@ export class FuseSearchBarComponent implements OnInit, OnDestroy
 | 
			
		||||
    )
 | 
			
		||||
    {
 | 
			
		||||
        // Set the defaults
 | 
			
		||||
        this.onInput = new EventEmitter();
 | 
			
		||||
        this.collapsed = true;
 | 
			
		||||
 | 
			
		||||
        // Set the private defaults
 | 
			
		||||
 | 
			
		||||
@ -15,11 +15,11 @@ import { FuseConfigService } from '@fuse/services/config.service';
 | 
			
		||||
})
 | 
			
		||||
export class FuseShortcutsComponent implements OnInit, OnDestroy
 | 
			
		||||
{
 | 
			
		||||
    shortcutItems: any[] = [];
 | 
			
		||||
    shortcutItems: any[];
 | 
			
		||||
    navigationItems: any[];
 | 
			
		||||
    filteredNavigationItems: any[];
 | 
			
		||||
    searching = false;
 | 
			
		||||
    mobileShortcutsPanelActive = false;
 | 
			
		||||
    searching: boolean;
 | 
			
		||||
    mobileShortcutsPanelActive: boolean;
 | 
			
		||||
    toolbarColor: string;
 | 
			
		||||
 | 
			
		||||
    @Input()
 | 
			
		||||
@ -45,14 +45,19 @@ export class FuseShortcutsComponent implements OnInit, OnDestroy
 | 
			
		||||
     * @param {ObservableMedia} _observableMedia
 | 
			
		||||
     */
 | 
			
		||||
    constructor(
 | 
			
		||||
        private _renderer: Renderer2,
 | 
			
		||||
        private _cookieService: CookieService,
 | 
			
		||||
        private _fuseConfigService: FuseConfigService,
 | 
			
		||||
        private _fuseMatchMediaService: FuseMatchMediaService,
 | 
			
		||||
        private _fuseNavigationService: FuseNavigationService,
 | 
			
		||||
        private _fuseConfigService: FuseConfigService,
 | 
			
		||||
        private _observableMedia: ObservableMedia
 | 
			
		||||
        private _observableMedia: ObservableMedia,
 | 
			
		||||
        private _renderer: Renderer2
 | 
			
		||||
    )
 | 
			
		||||
    {
 | 
			
		||||
        // Set the defaults
 | 
			
		||||
        this.shortcutItems = [];
 | 
			
		||||
        this.searching = false;
 | 
			
		||||
        this.mobileShortcutsPanelActive = false;
 | 
			
		||||
 | 
			
		||||
        // Set the private defaults
 | 
			
		||||
        this._unsubscribeAll = new Subject();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user