Files
hudozka/src/client/components/TimelineRecordPost.js
T

13 lines
350 B
JavaScript

import template from '../../templates/components/timeline-record-post.html';
export default function (app) {
app.component('timelineRecordPost', {
bindings: {
post: '<'
},
template: template,
controller: function($sce){
this.message = $sce.trustAsHtml(this.post.body);
}
});
};