mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Update API doc
This commit is contained in:
parent
078a30720c
commit
15debcec4a
4 changed files with 16 additions and 24 deletions
|
@ -82,17 +82,7 @@ export default {
|
|||
type: String,
|
||||
default: 'halfExpand',
|
||||
validator(value) {
|
||||
return [
|
||||
'ceil',
|
||||
'floor',
|
||||
'expand',
|
||||
'trunc',
|
||||
'halfCeil',
|
||||
'halfFloor',
|
||||
'halfExpand',
|
||||
'halfTrunc',
|
||||
'halfEven'
|
||||
].includes(value);
|
||||
return ['ceil', 'floor', 'expand', 'trunc', 'halfCeil', 'halfFloor', 'halfExpand', 'halfTrunc', 'halfEven'].includes(value);
|
||||
}
|
||||
},
|
||||
min: {
|
||||
|
|
11
components/lib/inputnumber/InputNumber.d.ts
vendored
11
components/lib/inputnumber/InputNumber.d.ts
vendored
|
@ -14,16 +14,7 @@ import { InputTextPassThroughOptions } from '../inputtext';
|
|||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type RoundingMode =
|
||||
| 'ceil'
|
||||
| 'floor'
|
||||
| 'expand'
|
||||
| 'trunc'
|
||||
| 'halfCeil'
|
||||
| 'halfFloor'
|
||||
| 'halfExpand'
|
||||
| 'halfTrunc'
|
||||
| 'halfEven';
|
||||
export declare type RoundingMode = 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven';
|
||||
|
||||
export declare type InputNumberPassThroughOptionType<T = any> = InputNumberPassThroughAttributes | ((options: InputNumberPassThroughMethodOptions<T>) => InputNumberPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
|
|
@ -182,7 +182,7 @@ export default {
|
|||
useGrouping: this.useGrouping,
|
||||
minimumFractionDigits: this.minFractionDigits,
|
||||
maximumFractionDigits: this.maxFractionDigits,
|
||||
roundingMode: this.roundingMode,
|
||||
roundingMode: this.roundingMode
|
||||
};
|
||||
},
|
||||
constructParser() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue