Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SortComponent

Sort component

Usage:

// Individual module import
import { SortModule } from 'patternfly-ng/sort';
// Or
import { SortModule } from 'patternfly-ng';

@NgModule({ imports: [SortModule,...] }) export class AppModule(){}

Optional:

import { SortConfig, SortEvent, SortField } from 'patternfly-ng/sort';

Hierarchy

  • SortComponent

Implements

  • DoCheck
  • OnInit

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

config

config: SortConfig

The sort config containing component properties

onChange

onChange: EventEmitter<Object> = new EventEmitter()

The event emitted when the sort has changed

Methods

ngDoCheck

  • ngDoCheck(): void

ngOnInit

  • ngOnInit(): void

Protected setupConfig

  • setupConfig(): void

Generated using TypeDoc