/**
* @class Roo.bootstrap.Link
* @extends Roo.bootstrap.Component
- * Bootstrap Link Class
+ * @children Roo.bootstrap.Component
+ * Bootstrap Link Class (eg. '<a href>')
+
* @cfg {String} alt image alternative text
* @cfg {String} href a tag href
* @cfg {String} target (_self|_blank|_parent|_top) target for a href.
{
var html = this.html || '';
- if (this.fa != false) {
+ if (this.fa !== false) {
html = '<i class="fa fa-' + this.fa + '"></i>';
}
var cfg = {
cfg.href = this.href || '#';
} else {
cfg.name = this.anchor;
- if (this.html !== false) {
+ if (this.html !== false || this.fa !== false) {
cfg.html = html;
}
if (this.href !== false) {