Skip to main content
cngx-src documentation

CngxCharCountContext

Interface

projects/forms/input/char-count.component.ts

Import#

import { CngxCharCountContext } from '@cngx/forms/input'

Description#

Template context type for CngxCharCount custom templates.

Index#

Instance Properties#

$implicit#number

Current character count (also available as implicit let-count).

current#number

Current character count.

max#number | undefined

Max length constraint, or undefined.

min#number | undefined

Min length constraint, or undefined.

Whether the value exceeds maxLength.

remaining#number | undefined

Characters remaining until maxLength, or undefined.