import { IconDesc, IconEventMap, IconModel, Image, InitModelOf, Widget } from '../index'; /** * Widget representing an icon. It may be a font icon or an image icon. Depending on the type, either a span or an img tag will be rendered. *
* See also {@link JQuery.icon} and {@link JQuery.appendIcon}. Main difference to these implementations is that the image loading will invalidate the layout by using {@link Image}.
*/
export declare class Icon extends Widget implements IconModel {
model: IconModel;
eventMap: IconEventMap;
self: Icon;
autoFit: boolean;
iconDesc: IconDesc;
/**
* Is set if the icon is rendered and an image, it is not set if it is a font icon
*/
image: Image;
prepend: boolean;
constructor();
protected _init(model: InitModelOf