Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ActionComponent

List actions component.

By default, buttons and kebab have no padding so they may inherit stying from components such as list and toolbar.

Usage:

// Individual module import
import { ActionModule } from 'patternfly-ng/action';
// Or
import { ActionModule } from 'patternfly-ng';

// NGX Bootstrap import { BsDropdownConfig, BsDropdownModule } from 'ngx-bootstrap/dropdown';

@NgModule({ imports: [ActionModule, BsDropdownModule.forRoot(),...], providers: [BsDropdownConfig] }) export class AppModule(){}

Optional:

import { Action, ActionConfig } from 'patternfly-ng/action';

Hierarchy

  • ActionComponent

Implements

  • DoCheck
  • OnInit

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

config

config: ActionConfig

The action config containing component properties

onActionSelect

onActionSelect: EventEmitter<Object> = new EventEmitter()

The event emitted when an action has been selected

template

template: TemplateRef<any>

Action template for custom actions

Methods

ngDoCheck

  • ngDoCheck(): void

ngOnInit

  • ngOnInit(): void

Generated using TypeDoc