Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlockUI: Removed wrong paragraph in demo #13712

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/app/showcase/doc/blockui/importdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { Code } from '../../domain/code';
@Component({
selector: 'import-doc',
template: ` <section class="py-3">
<app-docsectiontext [title]="title" [id]="id">
<p>Content of the badge is specified using the <i>value</i> property.</p>
</app-docsectiontext>
<app-docsectiontext [title]="title" [id]="id" />
<app-code [code]="code" [hideToggleCode]="true"></app-code>
</section>`
})
Expand Down
4 changes: 2 additions & 2 deletions src/app/showcase/doc/dynamicdialog/basicdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { ProductListDemo } from './productlistdemo';
template: ` <section class="py-3">
<app-docsectiontext [title]="title" [id]="id">
<p>
Dynamic dialogs require an instance of a <i>DialogService</i> that is responsible for displaying a dialog with a component as its content. Calling <i>open</i> method of <i>DialogService</i> will display dynamic dialog. First parameter of <i>open</i> method is the type of component to load and the second parameter is
the configuration of the Dialog such as <i>header</i>, <i>width</i> and more.
Dynamic dialogs require an instance of a <i>DialogService</i> that is responsible for displaying a dialog with a component as its content. Calling <i>open</i> method of <i>DialogService</i> will display dynamic dialog. First parameter
of <i>open</i> method is the type of component to load and the second parameter is the configuration of the Dialog such as <i>header</i>, <i>width</i> and more.
</p>
</app-docsectiontext>
<div class="card flex justify-content-center">
Expand Down
2 changes: 1 addition & 1 deletion src/app/showcase/doc/megamenu/basicdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Code } from '../../domain/code';
<p-megaMenu [model]="items"></p-megaMenu>
</div>
<app-code [code]="code" selector="mega-menu-basic-demo"></app-code>
</section>`,
</section>`
})
export class BasicDoc implements OnInit {
@Input() id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/app/showcase/doc/treetable/columnresizefitdoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface Column {
<p>Columns can be resized with drag and drop when <i>resizableColumns</i> is enabled. Default resize mode is <i>fit</i> that does not change the overall table width.</p>
</app-docsectiontext>
<div class="card">
<p-treeTable [value]="files" [columns]="cols" [resizableColumns]="true" [tableStyle]="{'min-width': '50rem'}">
<p-treeTable [value]="files" [columns]="cols" [resizableColumns]="true" [tableStyle]="{ 'min-width': '50rem' }">
<ng-template pTemplate="header" let-columns>
<tr>
<th *ngFor="let col of columns" ttResizableColumn>
Expand Down
4 changes: 2 additions & 2 deletions src/app/showcase/doc/treetable/columnresizescrollabledoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ interface Column {
<p>To utilize the column resize modes with a <i>scrollable</i> TreeTable, a <i>colgroup</i> template must be defined. The default value of scrollHeight is "flex," it can also be set as a string value.</p>
</app-docsectiontext>
<div class="card">
<p-treeTable [value]="files" [columns]="cols" [resizableColumns]="true" [scrollable]="true" scrollHeight="200px" [tableStyle]="{'min-width': '50rem'}">
<p-treeTable [value]="files" [columns]="cols" [resizableColumns]="true" [scrollable]="true" scrollHeight="200px" [tableStyle]="{ 'min-width': '50rem' }">
<ng-template pTemplate="colgroup" let-columns>
<colgroup>
<col *ngFor="let col of columns">
<col *ngFor="let col of columns" />
</colgroup>
</ng-template>
<ng-template pTemplate="header" let-columns>
Expand Down
2 changes: 1 addition & 1 deletion src/app/showcase/layout/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Announcement from '../data/news.json';
})
export class AppComponent implements OnInit, OnDestroy {
constructor(@Inject(DOCUMENT) private document: Document, @Inject(PLATFORM_ID) private platformId: any, private renderer: Renderer2, private configService: AppConfigService, private router: Router) {
if(isPlatformBrowser(platformId) && window && process.env.NODE_ENV === 'production'){
if (isPlatformBrowser(platformId) && window && process.env.NODE_ENV === 'production') {
this.injectScripts();
}
this.handleRouteEvents();
Expand Down
14 changes: 8 additions & 6 deletions src/app/showcase/pages/megamenu/megamenudemo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ import { AccessibilityDoc } from '../../doc/megamenu/accessibilitydoc';

@Component({
templateUrl: './megamenudemo.html',
styles: [`
:host ::ng-deep{
.p-megamenu-panel {
z-index: 3;
styles: [
`
:host ::ng-deep {
.p-megamenu-panel {
z-index: 3;
}
}
}
`]
`
]
})
export class MegaMenuDemo {
docs = [
Expand Down
Loading