1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/components/cardbuilder/peoplecardbuilder.js

22 lines
552 B
JavaScript
Raw Normal View History

define(['cardBuilder'], function (cardBuilder) {
'use strict';
2018-10-23 01:05:09 +03:00
function buildPeopleCards(items, options) {
2018-10-23 01:05:09 +03:00
options = Object.assign(options || {}, {
cardLayout: false,
centerText: true,
showTitle: true,
cardFooterAside: 'none',
showPersonRoleOrType: true,
cardCssClass: 'personCard',
defaultCardImageIcon: ''
});
cardBuilder.buildCards(items, options);
2018-10-23 01:05:09 +03:00
}
2018-10-23 01:05:09 +03:00
return {
buildPeopleCards: buildPeopleCards
};
2018-10-23 01:05:09 +03:00
});