Questions tagged [angular-components]

A component controls a patch of screen called a view. Component decorator allows you to mark a class as an Angular component and provide additional metadata that determines how the component should be processed, instantiated and used at run time.

Components are the most basic building block of an UI in an Angular application. An Angular application is a tree of Angular components. Angular components are a subset of directives. Unlike directives, components always have a template and only one component can be instantiated per an element in a template.You can see more information on components here

2024 questions
0
votes
1 answer

Angular Search better approach

Lets assume that , I have a component hierarchy like
This layout is contains a "Left side bar" which…
Parag Diwan
  • 3,007
  • 2
  • 19
  • 37
0
votes
2 answers

No component factory found for undefined. but did add to @NgModule.entryComponents with SharedModule

So I've found dozens of articles explaining this problem and most suggestions say to add my component to the entryComponents array in @NgModule, but I am stumped as to where or which entryComponents in the many modules I have.. so basically my…
Steve
  • 467
  • 7
  • 28
0
votes
3 answers

Angular 4: unable to create object of a component

I am using a 3rd party component which is responsible to upload files. I am importing this component in my component as below, but the problem is I am never going inside the if loop. Can anyone guide me how to create an object of UploadComp? import…
Anna
  • 1,669
  • 7
  • 38
  • 63
0
votes
2 answers

Angular reference an NgModel passed in

In the HTML template of one component: In app-my-component: export class MyComponentComponent implements OnInit { @Input() model:…
Antediluvian
  • 653
  • 1
  • 6
  • 18
0
votes
1 answer

Angular2: update view after discarding change in text input

I have an array of text areas which can be updated individually and the changes can be saved or discarded. Each textarea is represented by an object to keep track of the changes and to enable/disable some buttons. Everything is working fine, but…
D. K.
  • 151
  • 2
  • 13
0
votes
1 answer

how to implement grid layout in Angular Dart?

I am a java programmer studying dart and angulardart. Does angulardart officially provide a grid layout style? Or do I have to use a third party like bootstrap? If I have to use a third party, what best fits your angular dart? The Material Design…
0
votes
1 answer

Angular 2 + reset component library control

I have created an angular component library that I am installing via npm into my applications. I have a drop down that gets populated and used fine...the problem comes when I want to "reset" the component library controls to do a fresh…
Funn_Bobby
  • 647
  • 1
  • 20
  • 57
0
votes
0 answers

Angular Multi component Page Design

Technology Stack : Angular 6 Angular Material I am working on an a Single Page Application in Angular 6 and Angular material which has only one PAGE. The page has three sections apart from header and footer as : Search Section Download Section…
Atul
  • 1,560
  • 5
  • 30
  • 75
0
votes
3 answers

How to display only About Component Content in '/about' Router of Angular 6?

It is a basic app and I have AppComponent by default. I have used --routing flag to generate routing for Angular 6 App. I have generated 'AboutComponent' to place about us page content. However, Along with the About Us page content, the '/about' is…
user10529560
0
votes
2 answers

How to access a Method in angular view with out resulting multiple calls?

{{getPrefix(child)}} I am just learning angular. I don't have much experience with angular.…
0
votes
2 answers

Subscribe is not a function Angular

I am trying to return the value while subscribing and I am getting the value also but getting the error also ** Inside Service ** getColumnValueg(): Observable { console.log("service",this.colValueg); return (this.colValueg); } **…
0
votes
1 answer

Angular 6 component, apply css to class applied with hostbinding?

I normally use a global SCSS file in my apps, but today I wanted to make some scss scoped to just my component. I have set a class on the component via @HostBinding (of class.card). I can style items inside my component, such as the caard-body, but…
Steve
  • 14,401
  • 35
  • 125
  • 230
0
votes
1 answer

Can I use the Karma / Jasmine testing framework in Angular 4 to test appearance of Bootstrap modals and tooltips?

I don't think this is a very constructive question on StackOverflow, or I think this is more of an opinionated one. But since this is related to programming tools and is somewhat a practical, answerable problem, I'll ask anyway. I can't share any…
0
votes
0 answers

Google analytics custom metrics not working for angular 6

I have created a custom metric on Google Analytics and mentioned the required variable in the template: import {Injectable} from "@angular/core"; declare let ga: Function; @Injectable() export class GoogleAnalyticsEventsService { public…
kunal
  • 165
  • 2
  • 3
  • 10
0
votes
3 answers

Routing with option params with ? and &

I'm trying to have a deep look at angular's route, without any success. What I'm trying to do is to catch every params inside the url using the angular's route. So let's take as example this…
Jacopo Sciampi
  • 2,990
  • 1
  • 20
  • 44
1 2 3
99
100