File

core/file-picker-form-control/file-picker-validators.ts

Index

Methods

Methods

Static fileCountMax
fileCountMax(fileCountMax: number)
Parameters :
Name Type Optional
fileCountMax number No
Returns : ValidatorFn
Static fileCountMin
fileCountMin(fileCountMin: number)
Parameters :
Name Type Optional
fileCountMin number No
Returns : ValidatorFn
Static fileMaxSize
fileMaxSize(maxSizeBytes: number, filesService: FilesService)
Parameters :
Name Type Optional
maxSizeBytes number No
filesService FilesService No
Returns : ValidatorFn
Static fileNameMaxLength
fileNameMaxLength(filesService: FilesService)
Parameters :
Name Type Optional
filesService FilesService No
Returns : ValidatorFn
Static fileNonEmpty
fileNonEmpty(filesService: FilesService)
Parameters :
Name Type Optional
filesService FilesService No
Returns : ValidatorFn
Static haveValidExtensions
haveValidExtensions(filesService: FilesService, accept: string)
Parameters :
Name Type Optional
filesService FilesService No
accept string No
Returns : ValidatorFn

results matching ""

    No results matching ""