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 { Component } from '@angular/core'; | |
import { IonContent, IonHeader, IonIcon, IonTitle, IonToolbar } from '@ionic/angular/standalone'; | |
import * as icons from 'ionicons/icons'; | |
import { addIcons } from 'ionicons'; | |
@Component({ | |
selector: 'app-home', | |
templateUrl: 'home.page.html', | |
styleUrls: ['home.page.scss'], |
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
// | |
// ContentView.swift | |
// bottom-sheet | |
// | |
// Created by Sean Perkins on 3/22/22. | |
// | |
import SwiftUI | |
struct ContentView: View { | |
var body: some View { | |
Home() |
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 { Directive, OnDestroy, Input, Renderer2, ElementRef, AfterViewInit } from '@angular/core'; | |
import { Content } from '@ionic/angular'; | |
import { takeUntil, tap } from 'rxjs/operators'; | |
import { Subject } from 'rxjs'; | |
/** | |
* Usage: | |
* <example-component [collapseScroll]="content"></example-content> | |
* Where: content = ion-content reference binding | |
*/ | |
@Directive({ |
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 { Directive, Input, ElementRef } from '@angular/core'; | |
@Directive({ | |
selector: '[lnr]' | |
}) | |
export class LinearIconsDirective { | |
private _icon: string; | |
constructor(private elementRef: ElementRef) { } |