Skip to content

Instantly share code, notes, and snippets.

View jbagaresgaray's full-sized avatar
🏠
Working from home

Philip Cesar Garay jbagaresgaray

🏠
Working from home
View GitHub Profile
@Bengejd
Bengejd / 1. autoplay-video.directive.ts
Last active April 30, 2020 16:51
Ionic - Auto play/pause videos on scroll.
import { Directive } from '@angular/core';
@Directive({
selector: 'video'
})
export class AutoplayVideoDirective { }
@paulstelzer
paulstelzer / start.html
Created September 11, 2018 12:47
Ionic 4 Transparent Header
<ion-header>
<ion-toolbar color="secondary" [class.show-background]="showToolbar">
<ion-buttons slot="start">
<ion-menu-button></ion-menu-button>
</ion-buttons>
<ion-buttons slot="end">
<ion-button>
<ion-icon slot="icon-only" name="logo-facebook"></ion-icon>
</ion-button>
@cironunes
cironunes / angular.json.md
Last active February 10, 2021 03:28
Firebase Cloud Function for Angular SSR
{
-  "outputPath": "dist/piggybank", 
+  "outputPath": "functions/dist/piggybank",
-  "outputPath": "dist/piggybank-server",
+  "outputPath:": "functions/dist/piggybank-server",
}
@ashishkakkad8
ashishkakkad8 / JOSNArraySwiftParsingiOS
Last active December 31, 2017 05:59
JSON Array Parsing in Swift Langauage - Swift 3 – iOS 10 – Xcode 8 GM
//
// ViewController.swift
// SwiftJSONParsingDemo
//
// Created by Ashish Kakkad on 12/10/16.
// Copyright © 2016 Kode. All rights reserved.
//
import UIKit
@esfand
esfand / angular-jqlite.adoc
Last active April 19, 2023 01:32
Angular jqLite

Angular jqLite

jQuery and Angular

Angular doesn’t depend on jQuery. In fact, the Angular source contains an embedded lightweight alternative: jqLite. Still, when Angular detects the presence of a jQuery version in your page, it uses that full jQuery implementation in lieu of jqLite. One direct way in which this manifests itself is with Angular’s element abstraction. For example, in a directive you get access to the element that the directive applies to: