2018-03-14 16:57:22 -07:00
|
|
|
import Component from '@ember/component';
|
2019-08-31 20:51:14 -07:00
|
|
|
// @ts-ignore: Ignore import of compiled template
|
|
|
|
import template from '../templates/components/more-info';
|
|
|
|
import { tagName, classNames, layout } from '@ember-decorators/component';
|
2018-03-14 16:57:22 -07:00
|
|
|
|
2019-08-31 20:51:14 -07:00
|
|
|
@tagName('span')
|
|
|
|
@classNames('more-info')
|
|
|
|
@layout(template)
|
2018-03-14 16:57:22 -07:00
|
|
|
export default class MoreInfo extends Component {
|
|
|
|
/**
|
|
|
|
* Proxies to anchor element target attribute
|
|
|
|
* @type {string}
|
|
|
|
* @memberOf MoreInfo
|
|
|
|
*/
|
2019-08-31 20:51:14 -07:00
|
|
|
target: string = '_blank';
|
2018-03-14 16:57:22 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Proxies to anchor element href attribute
|
|
|
|
* @type {string}
|
|
|
|
* @memberOf MoreInfo
|
|
|
|
*/
|
2019-08-31 20:51:14 -07:00
|
|
|
link: string = '#';
|
2018-03-14 16:57:22 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Renders the tool tip component, if present
|
|
|
|
* @type {string}
|
|
|
|
* @memberOf MoreInfo
|
|
|
|
*/
|
2019-08-31 20:51:14 -07:00
|
|
|
tooltip?: string;
|
2018-03-14 16:57:22 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Disables DOM event propagation
|
|
|
|
* @return {boolean}
|
|
|
|
*/
|
|
|
|
click = () => false;
|
|
|
|
}
|