A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://surveyjs.io/form-library/documentation/api-reference/iaction below:

IAction | SurveyJS

An action item.

Action items are used in the Toolbar, matrix rows, titles of pages, panels, questions, and other survey elements.

View Demo

A function that is executed when users click the action item.

View Demo

Type:
(context?: any) => void readonly
Implemented in:
IAction

Specifies whether the action item is active.

Use this property as a flag to specify different action item appearances in different states.

Type:
boolean readonly
Implemented in:
IAction
See also:
enabled * , visible

Specifies the name of a component used to render the action item.

Type:
string readonly
Implemented in:
IAction

One or several CSS classes that you want to apply to the outer <div> element.

In the markup, an action item is rendered as an <input> or <button> wrapped in a <div>. The css property applies classes to the <div> element.

To apply several classes, separate them with a space character: "myclass1 myclass2".

View Demo

Type:
string readonly
Implemented in:
IAction
See also:
innerCss

The action item's data object. Use it to pass required data to a custom template or component.

Type:
any readonly
Implemented in:
IAction

Set this property to true if you want the item's title to be always visible. If you set it to false, the title hides when the screen space is limited, and the item displays only the icon.

Type:
boolean readonly
Implemented in:
IAction
See also:
title * , iconName

Set this property to true if you want to disable keyboard navigation for the action item (sets the tabIndex attribute to -1).

Type:
boolean readonly
Implemented in:
IAction

Specifies whether users can interact with the action item.

Type:
boolean | ComputedUpdater<boolean> readonly
Implemented in:
IAction
See also:
active * , visible

The action item's icon name.

Type:
string readonly
Implemented in:
IAction
See also:
iconSize

The action item's icon size in pixels.

Type:
string | number readonly
Implemented in:
IAction
See also:
iconName

A unique action item identifier.

View Demo

Type:
string readonly
Implemented in:
IAction

One or several CSS classes that you want to apply to the inner <input> or <button> element.

In the markup, an action item is rendered as an <input> or <button> wrapped in a <div>. The innerCss property applies classes to the <input>/<button> element.

To apply several classes, separate them with a space character: "myclass1 myclass2".

View Demo

Type:
string readonly
Implemented in:
IAction
See also:
css

The action item's location in a matrix question's row.

The following values are available:

Type:
string readonly
Implemented in:
IAction

Specifies the name of a template used to render the action item.

Type:
string readonly
Implemented in:
IAction
See also:
component

Specifies the action item's visibility.

Type:
boolean | ComputedUpdater<boolean> readonly
Implemented in:
IAction
See also:
enabled * , active

A number that specifies the action's position relative to other actions.

View Demo

Type:
number readonly
Implemented in:
IAction

Copyright © 2025 Devsoft Baltic OÜ. All rights reserved.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4