This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'bootstrap'; | |
import {Aurelia} from 'aurelia-framework'; | |
import config from './auth/auth-config'; | |
export function configure(aurelia: Aurelia) { | |
aurelia.use | |
.standardConfiguration() | |
.developmentLogging() | |
.plugin('aurelia-dialog'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {autoinject} from 'aurelia-framework'; | |
import {DialogController} from 'aurelia-dialog'; | |
import {UserInfo} from '../user-info/user-info'; | |
@autoinject | |
export class InfoDialog{ | |
constructor(private controller: DialogController){ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ai-dialog> | |
<ai-dialog-body> | |
<div class="text-center"> | |
<div class="row"> | |
<strong>First Name: </strong> ${info.firstName} | |
</div> | |
<div class="row"> | |
<strong>Last Name: </strong> ${info.lastName} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {autoinject} from 'aurelia-framework'; | |
import {DialogService} from 'aurelia-dialog'; | |
import {UserInfo} from '../user-info/user-info'; | |
import {InfoDialog} from './info-dialog'; | |
@autoinject | |
export class DialogDemo{ | |
constructor(public userInfo: UserInfo, private dialogService: DialogService){ | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="col-md-2"></div> | |
<div class="col-md-8"> | |
<button class="btn btn-primary btn-block" click.trigger="open()">Show Information</button> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace LooseCoupling.Models | |
{ | |
public class ToDo | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using LooseCoupling.Models; | |
using LooseCoupling.Services; | |
namespace LooseCoupling | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using LooseCoupling.Models; | |
using LooseCoupling.Services; | |
namespace LooseCoupling | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Text; | |
using System.Threading.Tasks; | |
using LooseCoupling.Models; | |
using Newtonsoft.Json; | |
namespace LooseCoupling.Services |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using LooseCoupling.Services; | |
using LooseCoupling.Models; | |
namespace LooseCoupling | |
{ |
OlderNewer