MPaginationObjectCountFormatter

MPaginationObjectCountFormatter. MPaginationObjectCountFormatter

Pagination object count formatter.

Constructor

new MPaginationObjectCountFormatter(fieldInstance, onKeyUp, onFocusOut)

Description:
  • Constructor.

Parameters:
Name Type Description
fieldInstance MField

Field instance.

onKeyUp boolean

Whether to format on keyup event.

onFocusOut boolean

Whether to format on blur event.

Extends

Methods

format()

Description:
  • Implement this method in child class to format the provided value and return it.

Overrides:

onKeyUp() → {boolean}

Description:
  • Property method.

Overrides:
Returns:

Value.

Type
boolean

onFocusOut() → {boolean}

Description:
  • Property method.

Overrides:
Returns:

Value.

Type
boolean