-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added dbxInjectionContext, which can act like an *ngIf/*ngSwitch but takes in the usual injection configuration. BREAKING CHANGE: renamed dbxInjectedContent to dbxInjection, renamed related content
- Loading branch information
Showing
47 changed files
with
557 additions
and
147 deletions.
There are no files selected for viewing
11 changes: 7 additions & 4 deletions
11
packages/dbx-core/src/lib/injected/injected.component.module.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
import { CommonModule } from '@angular/common'; | ||
import { NgModule } from '@angular/core'; | ||
import { DbxInjectedComponent } from './injected.component'; | ||
import { DbxInjectionComponent } from './injected.component'; | ||
import { DbxInjectionContextDirective } from './injected.context.component'; | ||
|
||
@NgModule({ | ||
imports: [ | ||
CommonModule | ||
], | ||
declarations: [ | ||
DbxInjectedComponent | ||
DbxInjectionComponent, | ||
DbxInjectionContextDirective | ||
], | ||
exports: [ | ||
DbxInjectedComponent | ||
DbxInjectionComponent, | ||
DbxInjectionContextDirective | ||
], | ||
}) | ||
export class DbxInjectedComponentModule { } | ||
export class DbxInjectionComponentModule { } |
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
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
Oops, something went wrong.