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

18 lines
529 B
JavaScript
Raw Normal View History

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