Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dynamicl_control_DOM_by_event
setCssDynamical($event) {
console.log($event);
$event.source.trigger.nativeElement.childNodes[0].setAttribute("style", "font-size: 20px;font-weight: bold")
//mat-select-trigger
//mat-select-placeholder
//let elt = document.getElementsByClassName("mat-select-placeholder").item(0);
//elt.setAttribute("style", "font-size: 20px;font-weight: bold");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment