mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
21 lines
505 B
JavaScript
21 lines
505 B
JavaScript
define(['cardBuilder'], function (cardBuilder) {
|
|
'use strict';
|
|
|
|
function buildPeopleCards(items, options) {
|
|
|
|
options = Object.assign(options || {}, {
|
|
cardLayout: true,
|
|
centerText: true,
|
|
showTitle: true,
|
|
cardFooterAside: 'none',
|
|
showPersonRoleOrType: true,
|
|
cardCssClass: 'personCard'
|
|
});
|
|
cardBuilder.buildCards(items, options);
|
|
}
|
|
|
|
return {
|
|
buildPeopleCards: buildPeopleCards
|
|
};
|
|
|
|
}); |