Skip to content

Commit

Permalink
chore(*): fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorkombov committed Nov 4, 2021
1 parent c3aebc1 commit 1a3d1b0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ export class GridTemplateStrings {
</igx-grid>`;

public static declareGrid(attributes = ``, events = ``, columnDefinitions: ColumnDefinitions = ``,
toolbarDefinition = '', paginatorDefinition = '', templates: TemplateDefinitions = '') {
toolbarDefinition = '', paginatorDefinition = '', templateDefinitions: TemplateDefinitions = '') {
return `<igx-grid [data]="data"
${attributes}
${events}
>
${toolbarDefinition}
${columnDefinitions}
${paginatorDefinition}
${templates}
${templateDefinitions}
</igx-grid>`;
}

public static declareBasicGridWithColumns(columnDefinitions: ColumnDefinitions, templates?: TemplateDefinitions) {
public static declareBasicGridWithColumns(columnDefinitions: ColumnDefinitions) {
return GridTemplateStrings.declareGrid(``, ``, columnDefinitions);
}

Expand Down

0 comments on commit 1a3d1b0

Please sign in to comment.