mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-14 13:44:47 +00:00
Update all model classes to Electron API 39.2
This commit is contained in:
@@ -1,15 +1,18 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
namespace ElectronNET.API.Entities
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// Options for BrowserWindow.setProgressBar(progress, options).
|
||||
/// </summary>
|
||||
/// <remarks>Up-to-date with Electron API 39.2</remarks>
|
||||
public class ProgressBarOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Mode for the progress bar. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'.
|
||||
/// Mode for the progress bar on Windows. Can be 'none' | 'normal' | 'indeterminate' | 'error' | 'paused'.
|
||||
/// </summary>
|
||||
public ProgressBarMode Mode { get; set; }
|
||||
[SupportedOSPlatform("windows")]
|
||||
public ProgressBarMode Mode { get; set; } = ProgressBarMode.normal;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user