Icon: Conversion from ASPX to HTML and TypeScript
The following table will help you to convert the ASPX elements that are related to an icon to HTML or TypeScript elements.
PXImage
The following table shows the correspondence between the PXImage element and the HTML or TypeScript elements. During the conversion of ASPX pages to HTML and TypeScript, you need to replace these ASPX elements with their analogs in HTML or TypeScript.
ASPX | HTML or TypeScript |
---|---|
PXImage
|
Use the qp-icon tag, as shown in the following code.
|
ID | Use the id attribute of the qp-icon tag. |
ImageUrl | Use the imagesrc attribute of the qp-icon tag. The image source can be a Font Awesome glyph, an SVG icon, or a simple raster icon, such as a PNG or a GIF file. |
Height | Use the height attribute of the qp-icon
tag.
|
Width | Use the width attribute of the qp-icon
tag.
|