Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { Directive, Input, TemplateRef } from '@angular/core';
@Directive({
selector: '[nbSelectOption]'
})
export class NbSelectOptionDirective {
option;
constructor( private tpl : TemplateRef<any> ) {}
@Input() set nbSelectOption( option ) {
this.option = option;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment