本文整理汇总了TypeScript中angular-rx-ui/src/components/core.pluckOut函数的典型用法代码示例。如果您正苦于以下问题:TypeScript pluckOut函数的具体用法?TypeScript pluckOut怎么用?TypeScript pluckOut使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了pluckOut函数的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: pluckOut
export const removePropertyReducer = (state, action) => {
if (action instanceof actions.RemovePropertyAction)
pluckOut({ items: state.properties, value: action.entity.id });
return state;
}
示例2: pluckOut
export const removeDigitalAssetReducer = (state, action) => {
if (action instanceof actions.RemoveDigitalAssetAction)
pluckOut({ items: state.digitalAssets, value: action.entity.id });
return state;
}
示例3: pluckOut
export const removeYouTubeVideoReducer = (state, action) => {
if (action instanceof actions.RemoveYouTubeVideoAction)
pluckOut({ items: state.youTubeVideos, value: action.entity.id });
return state;
}
示例4: pluckOut
export const removePhotoReducer = (state, action) => {
if (action instanceof actions.RemovePhotoAction)
pluckOut({ items: state.photos, value: action.entity.id });
return state;
}
示例5: pluckOut
export const removeSituationReducer = (state, action) => {
if (action instanceof actions.RemoveSituationAction)
pluckOut({ items: state.situations, value: action.entity.id });
return state;
}
示例6: pluckOut
export const removeTeamReducer = (state, action) => {
if (action instanceof actions.RemoveTeamAction)
pluckOut({ items: state.teams, value: action.entity.id });
return state;
}
示例7: pluckOut
export const removeArticleReducer = (state, action) => {
if (action instanceof actions.RemoveArticleAction)
pluckOut({ items: state.articles, value: action.entity.id });
return state;
}
示例8: pluckOut
export const removeDelegationDashboardReducer = (state, action) => {
if (action instanceof actions.RemoveDelegationDashboardAction)
pluckOut({ items: state.delegationDashboards, value: action.entity.id });
return state;
}