Created
February 23, 2017 10:48
-
-
Save xinmeng1/cfa3404977dfc67516b62e345c062cf7 to your computer and use it in GitHub Desktop.
dynamicl_control_DOM_by_event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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