Skip to content

Class: AttachmentFormCellProxy

Hierarchy

Implements

Summary

Constructors

Properties

Class Properties

Currently none in this class.

Inherited Properties

Accessors

Class Accessors

Currently none in this class.

Inherited Accessors

Methods

Class Methods

Inherited Methods

Constructors

constructor

+ new AttachmentFormCellProxy(context: IContext): AttachmentFormCellProxy

Overrides FormCellControlProxy.constructor

Parameters:

Name Type
context IContext

Returns: AttachmentFormCellProxy

Methods

getAllowedFileTypes

getAllowedFileTypes(): string[]

Implementation of IAttachmentFormCellProxy

Returns: string[]


getAttachmentActionType

getAttachmentActionType(): string[]

Implementation of IAttachmentFormCellProxy

Returns: string[]


getAttachmentAddTitle

getAttachmentAddTitle(): string

Implementation of IAttachmentFormCellProxy

Returns: string


getAttachmentCancelTitle

getAttachmentCancelTitle(): string

Implementation of IAttachmentFormCellProxy

Returns: string


getAttachmentTitle

getAttachmentTitle(): string

Implementation of IAttachmentFormCellProxy

Returns: string


getMaxAttachments

getMaxAttachments(): number

Implementation of IAttachmentFormCellProxy

Returns: number


getMaxFileSize

getMaxFileSize(): number

Implementation of IAttachmentFormCellProxy

Returns: number


openAttachmentItem

openAttachmentItem(index: number): void

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type Description
index number The index of the item

Returns: void


setAllowedFileTypes

setAllowedFileTypes(fileType: [string]): Promise‹any›

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type Description
fileType [string] value to set.

Returns: Promise‹any›


setAttachmentActionType

setAttachmentActionType(actionType: [string]): Promise‹any›

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type
actionType [string]

Returns: Promise‹any›


setAttachmentAddTitle

setAttachmentAddTitle(addTitle: string): Promise‹any›

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type Description
addTitle string value to set.

Returns: Promise‹any›


setAttachmentCancelTitle

setAttachmentCancelTitle(cancelTitle: string): Promise‹any›

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type Description
cancelTitle string value to set.

Returns: Promise‹any›


setAttachmentTitle

setAttachmentTitle(title: string): Promise‹any›

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type Description
title string value to set.

Returns: Promise‹any›


setMaxAttachments

setMaxAttachments(maxNumber: number): Promise‹any›

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type
maxNumber number

Returns: Promise‹any›


setMaxFileSize

setMaxFileSize(maxFileSize: number): Promise‹any›

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type
maxFileSize number

Returns: Promise‹any›


setValueByIndex

setValueByIndex(value: any, index: number, notify?: boolean): this

Implementation of IAttachmentFormCellProxy

Parameters:

Name Type Description
value any value to be set
index number The index of the item
notify? boolean whether to triggers the OnValueChange event on the FormCell's control

Returns: this

this - allows chaining