StackOverflow Questions for Tag: elementref

user6781
user6781

Reputation: 333

Getting html value in typescript using @ViewChild()

Score: 0

Views: 36

Answers: 2

Read More
Pramod Kumar
Pramod Kumar

Reputation: 1201

How to manipulate/copy ElementRef in angular without manipulating the DOM?

Score: 0

Views: 53

Answers: 1

Read More
Broken Dust
Broken Dust

Reputation: 37

Add buttons programmatically via ngOnChanges in renderer2

Score: 1

Views: 29

Answers: 0

Read More
Rohan Arle
Rohan Arle

Reputation: 31

How to pass reference of element which is added to DOM on certain condition being true?

Score: 1

Views: 78

Answers: 1

Read More
Rohan Arle
Rohan Arle

Reputation: 31

How to get element reference of ng-select in angular

Score: 2

Views: 535

Answers: 1

Read More
Akber Iqbal
Akber Iqbal

Reputation: 15041

Angular: why <input> value changes (using renderer2) doesn't trigger the events bind to that <input>

Score: 1

Views: 2174

Answers: 1

Read More
L. Kvri
L. Kvri

Reputation: 1733

Angular How to put elementRef of child component into itself?

Score: 0

Views: 295

Answers: 1

Read More
Asna Khan
Asna Khan

Reputation: 253

ElementRef is undefined even after calling in ngAfterViewInit()

Score: 0

Views: 545

Answers: 1

Read More
sandeep ghansiala
sandeep ghansiala

Reputation: 11

TypeError: this.modal.nativeElement.present is not a function at myComponent.ngAfterViewInit

Score: 1

Views: 131

Answers: 0

Read More
thortineoc
thortineoc

Reputation: 1

What is the safest way to perform an event from code in Angular?

Score: 0

Views: 60

Answers: 0

Read More
wostory
wostory

Reputation: 23

Using ElementRef with async pipe

Score: 0

Views: 485

Answers: 3

Read More
AneeshPutturi
AneeshPutturi

Reputation: 768

How to create Unit test for ElementRef.nativeElement.querySelector()

Score: 1

Views: 579

Answers: 0

Read More
Nidhi Sarupria
Nidhi Sarupria

Reputation: 13

Angular HtmlCollection displaying less items on console, whereas on expansion more items are displayed which could not be captured by code

Score: 0

Views: 119

Answers: 0

Read More
theGhostN
theGhostN

Reputation: 410

angular templateRef nativeElement is an empty comment instead of original element

Score: 8

Views: 6915

Answers: 2

Read More
TDev
TDev

Reputation: 95

Angular cannot loop a list of ElementRef

Score: 0

Views: 339

Answers: 2

Read More
Remi Duplan
Remi Duplan

Reputation: 3

How to access the background color of a button in a directive?

Score: 0

Views: 362

Answers: 1

Read More
aburton
aburton

Reputation: 11

In Angular, how to I get the correct coordinates of an element after routing change?

Score: 1

Views: 373

Answers: 1

Read More
TabsNotSpaces
TabsNotSpaces

Reputation: 1357

Creating instance of component and passing to another component rendering as [object HTMLelement]

Score: 3

Views: 1770

Answers: 1

Read More
GeekAndNerd223
GeekAndNerd223

Reputation: 121

ERROR TypeError: Cannot read properties of undefined (reading 'nativeElement'): How do I resolve this?

Score: 0

Views: 2689

Answers: 2

Read More
mdev
mdev

Reputation: 43

Whats the Angular way of cloning/moving an element into the body with all event listeners?

Score: 1

Views: 1989

Answers: 1

Read More
PreviousPage 1Next