Class CopyToClipboard
Namespace: Void.Minecraft.Components.Text.Events.Actions.Click
Assembly: Void.Minecraft.dll
Represents a click action that copies text to the client’s clipboard.
public record CopyToClipboard : IClickEventAction, IEquatable<CopyToClipboard>Inheritance
Implements
IClickEventAction, IEquatable<CopyToClipboard>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
CopyToClipboard(string)
Represents a click action that copies text to the client’s clipboard.
public CopyToClipboard(string Value)Parameters
Value string
The text to copy.
Properties
ActionName
Gets the copy_to_clipboard click-action identifier.
public string ActionName { get; }Property Value
Value
The text to copy.
public string Value { get; init; }