Newer
Older
<div fxLayout="column" fxLayoutAlign="center center" fxlayoutgap="50px" fxFill>
<form>
<div fxLayout="row" fxLayoutAlign="center" fxLayoutGap="10px">
<input matInput #roomId placeholder="Join Session!" maxlength="8" [matAutocomplete]="auto"/>
<mat-hint align="end">{{roomId.value.length}} / 8</mat-hint>
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let session of sessions" [value]="session.id">
{{session.name}}
</mat-option>
</mat-autocomplete>
</mat-form-field>
<button mat-fab color="primary" type="submit">
<mat-icon>input</mat-icon>
</button>
</div>
</form>
<button mat-button class="demo" color="primary">Demo Session<mat-icon color="accent">lightbulb_outline</mat-icon></button>
<button mat-fab class="fab-extended" color="accent" (click)="openCreateRoomDialog()">