本文整理汇总了TypeScript中app/main/apps/scrumboard/scrumboard.service.ScrumboardService类的典型用法代码示例。如果您正苦于以下问题:TypeScript service.ScrumboardService类的具体用法?TypeScript service.ScrumboardService怎么用?TypeScript service.ScrumboardService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了service.ScrumboardService类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的TypeScript代码示例。
示例1: newBoard
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
/**
* New board
*/
newBoard(): void
{
const newBoard = new Board({});
this._scrumboardService.createNewBoard(newBoard).then(() => {
this._router.navigate(['/apps/scrumboard/boards/' + newBoard.id + '/' + newBoard.uri]);
});
}
开发者ID:karthik12ui,项目名称:fuse-angular-full,代码行数:14,代码来源:scrumboard.component.ts
示例2: onListAdd
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
/**
* On list add
*
* @param newListName
*/
onListAdd(newListName): void
{
if ( newListName === '' )
{
return;
}
this._scrumboardService.addList(new List({name: newListName}));
}
开发者ID:karthik12ui,项目名称:fuse-angular-full,代码行数:18,代码来源:board.component.ts
示例3: onDrop
/**
* On drop
*
* @param ev
*/
onDrop(ev): void
{
this._scrumboardService.updateBoard();
}
开发者ID:karthik12ui,项目名称:fuse-angular-full,代码行数:9,代码来源:board.component.ts
示例4: onBoardNameChanged
/**
* On board name changed
*
* @param newName
*/
onBoardNameChanged(newName): void
{
this._scrumboardService.updateBoard();
this._location.go('/apps/scrumboard/boards/' + this.board.id + '/' + this.board.uri);
}
开发者ID:karthik12ui,项目名称:fuse-angular-full,代码行数:10,代码来源:board.component.ts
示例5: setColor
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
/**
* Set the color
*
* @param color
*/
setColor(color): void
{
this.board.settings.color = color;
this._scrumboardService.updateBoard();
}
开发者ID:karthik12ui,项目名称:fuse-angular-full,代码行数:14,代码来源:board-color-selector.component.ts
示例6: toggleSubscription
/**
* Toggle subscription
*/
toggleSubscription(): void
{
this.board.settings.subscribed = !this.board.settings.subscribed;
this.scrumboardService.updateBoard();
}
开发者ID:karthik12ui,项目名称:fuse-angular-full,代码行数:8,代码来源:settings.component.ts
示例7: toggleCardCover
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
/**
* Toggle card cover
*/
toggleCardCover(): void
{
this.board.settings.cardCoverImages = !this.board.settings.cardCoverImages;
this.scrumboardService.updateBoard();
}
开发者ID:karthik12ui,项目名称:fuse-angular-full,代码行数:12,代码来源:settings.component.ts
注:本文中的app/main/apps/scrumboard/scrumboard.service.ScrumboardService类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论