Sign Up

Sign In

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Sorry, you do not have a permission to ask a question, You must login to ask question.

Discy Latest Questions

  • 0
  • 0

Error compiler.js:215 Uncaught Error: Template parse errors: Can’t bind to ‘ngbCollapse’ since it isn’t a known property of ‘div’. (“][ngbCollapse]=”isHidden”> I have a NavbarComponent and a FooterComponent that I want to move into the SharedModule, to keep the root app.module cleaner. app.module import { ...

  • 0
  • 0

Is it possible to declare a component with a generic type in Angular 4? The following code causes build errors: export class MyGenericComponent<T> implements OnInit { @Input() data: BehaviorSubject<T[]>; //... } The error when executing ng serve is: ERROR in C:/.../my-generic.module.ts (5,10): Module '"C:/.../my-generic.component"' has no exported member 'MyGenericComponent'. Example: The ...

  • 0
  • 0

My Page structure is: <app-header></app-header> <router-outlet></router-outlet> <app-footer></app-footer> How can I update/refresh the app-header component, without refreshing the whole page? I want to hide a “Sign-In” link in the header, once the user had successfully logged in. The header is common in all the components/routes.

  • 0
  • 0

I am trying to build a custom component using multiple ng-content in Angular 6, but this is not working and I have no idea why. This is my component code: <div class="header-css-class"> <ng-content select="#header"></ng-content> </div> <div class="body-css-class"> <ng-content select="#body"></ng-content> </div> I am trying to use this component in another ...

close