New to Kendo UI for AngularStart a free 30-day trial

Defines the File Select button component for the PromptBox. Allows users to attach files to their messages.

Definition

Package:@progress/kendo-angular-conversational-ui

Selector:kendo-promptbox-fileselect-button

Export Name:Accessible in templates as #kendoPromptBoxFileSelectButtonInstance="kendoPromptBoxFileSelectButton"

Syntax:

html
<kendo-promptbox>
  <kendo-promptbox-end-affix>
    <kendo-promptbox-fileselect-button></kendo-promptbox-fileselect-button>
  </kendo-promptbox-end-affix>
</kendo-promptbox>

Inputs

accept

string

Sets the accept attribute of the internal FileSelect component. Specifies the file types that the user can select.

Default:

null

disabled

boolean

Sets the disabled state of the button.

fillMode

ButtonFillMode

Sets the background and border styles of the button.

icon

string

Sets the name of an existing font icon in the Kendo UI theme for the button.

iconClass

string

Defines a CSS class, or multiple classes separated by spaces, applied to a span element inside the button.

imageUrl

string

Specifies a URL for an img element inside the button.

multiple

boolean

Allows you to select multiple files.

Default:

true

restrictions

FileRestrictions

Sets the restrictions for selected files.

Default:

null

rounded

ButtonRounded

Sets the border radius of the button.

size

ButtonSize

Sets the padding of the button.

svgIcon

SVGIcon

Sets the SVG icon for the tool button.

themeColor

ButtonThemeColor

Sets a predefined theme color for the button.

title

string

Sets the title attribute of the button.