In react I can arbitrarily pass props down like so:
function SomeComponent(props) {
const {takeOutProp, ...restOfProps} = props;
return
Actually it is not the answer on your question but perhaps it helps you. You can add one custom directive with all params you need.
import { Directive, ElementRef } from '@angular/core';
@Directive({
selector: '[defaultConfig]'
})
export class DefaultDropdownConfigDirective {
constructor(el: ElementRef) {
el.nativeElement.style.backgroundColor = 'yellow';
// your default config
}
}
For more details you can read this