1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/peoplecardbuilder.js

21 lines
505 B
JavaScript
Raw Normal View History

2016-10-11 02:46:59 -04:00
define(['cardBuilder'], function (cardBuilder) {
2016-10-02 23:49:52 -04:00
'use strict';
2016-07-28 22:42:42 -04:00
function buildPeopleCards(items, options) {
2016-10-11 02:46:59 -04:00
options = Object.assign(options || {}, {
cardLayout: true,
centerText: true,
showTitle: true,
cardFooterAside: 'none',
showPersonRoleOrType: true,
cardCssClass: 'personCard'
});
cardBuilder.buildCards(items, options);
2016-07-28 22:42:42 -04:00
}
return {
buildPeopleCards: buildPeopleCards
};
});