API returned from {@link createChipRemovalHandler}
CngxChipRemovalHandler
Interface
projects/forms/select/shared/chip-removal-handler.ts
Import#
import { CngxChipRemovalHandler } from '@cngx/forms/select'
Description#
API returned from createChipRemovalHandler.
Index#
Methods
Methods#
removeByValue(item: Item)Apply the removal body. Bind directly to (remove) or Backspace.
@paramitem
ItemremoveFor(item: Item)Stable closure wrapping removeByValue, cached per-item via WeakMap. Safe to pass into chip-slot context without view thrash.
@paramitem
Item