Use sibling selector (+) to face click event in CSS
A Pen by Alexander Schmidt on CodePen.
<p> | |
option 1 | |
<label class="switch"> | |
<input type="checkbox"> | |
<div class="slider"></div> | |
</label> | |
option 2 | |
</p> |
<!-- Überschriften --> | |
<h1>1. Überschrift</h1> | |
<h2>2. Überschrift</h2> | |
<h3>3. Überschrift</h3> | |
<h4>4. Überschrift</h4> | |
<h5>5. Überschrift</h5> | |
<h6>6. Überschrift</h6> |
gulp.task('fonts', function(){ | |
return copyFonts({ | |
src: [ | |
'node_modules/ionic-angular/fonts/**/*.+(ttf|woff|woff2)', | |
'app/theme/fonts/**/*.+(ttf|woff|woff2)' | |
], | |
dest: 'www/build/fonts' | |
}) | |
}); |
import {Directive, ElementRef, EventEmitter, Output} from '@angular/core'; | |
import {NgModel} from '@angular/forms'; | |
declare var google:any; | |
@Directive({ | |
selector: '[googleplace]', | |
providers: [NgModel], | |
host: { | |
'(input)' : 'onInputChange()' |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
<html> | |
<head> | |
<title>Google Maps Multiple Markers</title> | |
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script> | |
</head> | |
<body> | |
<div id="map" style="height: 400px; width: 500px;"> | |
</div> | |
<script type="text/javascript"> |
startExternalMap() { | |
if (this.location.latitude) { | |
this.platform.ready().then(() => { | |
Geolocation.getCurrentPosition().then((position) => { | |
// ios | |
if (this.platform.is('ios')) { | |
window.open('maps://?q=' + this.location.name + '&saddr=' + position.coords.latitude + ',' + position.coords.longitude + '&daddr=' + this.location.latitude + ',' + this.location.longitude, '_system'); | |
}; | |
// android | |
if (this.platform.is('android')) { |
Use sibling selector (+) to face click event in CSS
A Pen by Alexander Schmidt on CodePen.
var gulp = require('gulp'); | |
var concat = require('gulp-concat'); | |
var sass = require('gulp-sass'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var rename = require('gulp-rename'); | |
var convertEncoding = require('gulp-convert-encoding'); | |
var notify = require('gulp-notify'); | |
var uglify = require('gulp-uglify'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var annotate = require('gulp-ng-annotate'); |
/** | |
* ionRadioFix - fixes a bug in iOS 9 UIWebView that breaks the tilde selector in CSS. To | |
* use this fix, include it after your Ionic bundle JS. | |
* | |
* Note: due to Angular directive override limitations, you'll need to change any reference | |
* to <ion-radio> to <ion-radio-fix> to apply this patched radio button. | |
* | |
* Also, make sure to add the new CSS from the second part of this gist. | |
*/ | |
angular.module('ionic').directive('ionRadioFix', function() { |