File

src/list/list-item.directive.ts

Description

Applies list styling to the item it is used on. Best used with lis.

Metadata

Index

Properties
HostBindings

HostBindings

class.cds--list__item
Type : boolean
Default value : true

Properties

wrapper
Default value : true
Decorators :
@HostBinding('class.cds--list__item')
import { Directive, HostBinding } from "@angular/core";

/**
 * Applies list styling to the item it is used on. Best used with `li`s.
 */
@Directive({
	selector: "[cdsListItem], [ibmListItem]"
})
export class ListItemDirective {
	@HostBinding("class.cds--list__item") wrapper = true;
}

results matching ""

    No results matching ""