Class: Icon
Represents a Clash of Clans Icon.
Constructors
constructor
• new Icon(data
)
Parameters
Name | Type |
---|---|
data | APIIcon |
Defined in
Properties
url
• url: string
The default icon URL.
Defined in
medium
• medium: string
The medium icon URL.
Defined in
small
• small: string
The small icon URL.
Defined in
tiny
• tiny: string
The tiny icon URL.
Defined in
Accessors
fileName
• get
fileName(): string
Get unique file name of this Icon.
Returns
string
Defined in
sizes
• get
sizes(): string
[]
Sizes of this Icon.
Returns
string
[]