import newsPrice from '../../news.price.js'; import gridViewColumn from '/elements/gridView/gridView.body.row.column.js'; export default class newsListItemPrice extends newsPrice, gridViewColumn{ create() { const formatter = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'EUR', }); this.text = formatter.format( this.value ); } }