Method PutModes
PutModes(String, Seq<Int32>, Renderable)
Changes renderable in a given mode.
Declaration
public TryOptionAsync<HttpResponseMessage> PutModes(string modeName, Seq<int> renderableIndex, Renderable renderable)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | modeName | The mode name. |
| LanguageExt.Seq<System.Int32> | renderableIndex | The renderable index. |
| Renderable | renderable | The changed renderable data. |
Returns
| Type | Description |
|---|---|
| LanguageExt.TryOptionAsync<System.Net.Http.HttpResponseMessage> |
Remarks
One use case of this function is to change the buttons. Use GetModes(String, Seq<Int32>) to get the latest renderable data.