Skip to content

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

objectCopyToClipboard

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

string

Value

The text to copy.

public string Value { get; init; }

Property Value

string