new ActionFileSave(data, fileName)
Action to open a file save dialog and save file(s).
This action relies on Data URL.
Parameters:
Name | Type | Description |
---|---|---|
data |
String | Data to save. |
fileName |
String | Prefered file name to save. |
Properties:
Name | Type | Description |
---|---|---|
data |
String | Data to save. |
fileName |
String | Prefered file name to save. |
filters |
Array | Filters of save file dialog. |
Extends
Methods
-
execute(target, htmlEvent)
-
Execute the action.
Parameters:
Name Type Description target
Object Object that invokes this action. htmlEvent
Object HTML event that causes the executing process, can be null. - Inherited From:
- Source:
-
getActionList() → {Kekule.ActionList}
-
Returns belonged action list.
- Inherited From:
- Source:
Returns:
- Type
- Kekule.ActionList
-
update()
-
Update the state (enabled, visible and so on) of action.
- Inherited From:
- Source:
Events
-
execute
-
Invoked when an action is executed. Has one field: {htmlEvent: html event to raise the action}.
- Inherited From:
- Source: