mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
22 lines
551 B
JavaScript
22 lines
551 B
JavaScript
define(['cardBuilder'], function (cardBuilder) {
|
|
'use strict';
|
|
|
|
function buildPeopleCards(items, options) {
|
|
|
|
options = Object.assign(options || {}, {
|
|
cardLayout: false,
|
|
centerText: true,
|
|
showTitle: true,
|
|
cardFooterAside: 'none',
|
|
showPersonRoleOrType: true,
|
|
cardCssClass: 'personCard',
|
|
defaultCardImageIcon: 'person'
|
|
});
|
|
cardBuilder.buildCards(items, options);
|
|
}
|
|
|
|
return {
|
|
buildPeopleCards: buildPeopleCards
|
|
};
|
|
|
|
});
|