import Ember from 'ember';
import layout from '../templates/components/sl-modal-header';
/**
* @module
* @augments ember/Component
*/
export default Ember.Component.extend({
// -------------------------------------------------------------------------
// Dependencies
// -------------------------------------------------------------------------
// Attributes
/** @type {Object} */
layout: layout,
/** @type {String} */
tagName: 'div',
// -------------------------------------------------------------------------
// Actions
// -------------------------------------------------------------------------
// Events
// -------------------------------------------------------------------------
// Properties
// -------------------------------------------------------------------------
// Observers
// -------------------------------------------------------------------------
// Methods
/**
* ariaLabelledBy computed property, the value
* of this property will be set as
* the value to the aria-labelledby attribute
*
* @function
* @returns {String}
*/
ariaLabelledBy: Ember.computed(
'elementId',
function() {
return 'modalTitle' + this.get( 'elementId' );
}
)
});