Browse Source

update: sorting navigation page

pull/23285/head
sumeyye 1 year ago
parent
commit
2c7691f060
  1. 11
      docs/en/framework/ui/angular/sorting-navigation-elements.md

11
docs/en/framework/ui/angular/sorting-navigation-elements.md

@ -19,19 +19,18 @@ This documentation describes how the navigation elements are sorted and how to c
# How to Customize # How to Customize
**`in app.module.ts`** **`in app.config.ts`**
```ts ```ts
import { SORT_COMPARE_FUNC } from "@abp/ng.core"; import { SORT_COMPARE_FUNC } from "@abp/ng.core";
@NgModule({ export const appConfig: ApplicationConfig = {
providers: [ providers: [
...{ // ...
{
provide: SORT_COMPARE_FUNC, provide: SORT_COMPARE_FUNC,
useFactory: yourCompareFuncFactory, useFactory: yourCompareFuncFactory,
}, },
], ],
// imports, declarations, and bootstrap };
})
export class AppModule {}
``` ```

Loading…
Cancel
Save