Gets all events that occur within a given time range, and that include the specified guest email in the guest list.
###Parameters:###
| import { Action } from '@ngrx/store'; | |
| import { MyModel } from '../../models'; | |
| export enum ActionTypes { | |
| LOAD_REQUEST = '[My Feature] Load Request', | |
| LOAD_FAILURE = '[My Feature] Load Failure', | |
| LOAD_SUCCESS = '[My Feature] Load Success' | |
| } | |
| export class LoadRequestAction implements Action { |
| 'use strict'; | |
| var __gapiAvailable = function() { | |
| return typeof(gapi) !== 'undefined'; | |
| } | |
| angular.module('myApp.services', []) | |
| .value('version', '0.0.1'); | |
| // Our google services module |
| <html> | |
| <head> | |
| <script type="text/javascript"> | |
| /* | |
| Sample code taken shamelessly (and modified) | |
| from https://developers.google.com/google-apps/calendar/quickstart/js | |
| */ | |
| // Your Client ID can be retrieved from your project in the Google | |
| // Developer Console, https://console.developers.google.com |
| /** | |
| * @license | |
| * Copyright 2018, Google, Inc. | |
| * Licensed under the Apache License, Version 2.0 (the 'License'); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| <div class="row"> | |
| <div class="col-md-2 col-sm-2 col-xs-12"> | |
| <button id="authorize-button" style="visibility: hidden" class="btn btn-primary">Authorize</button> | |
| </div><!-- .col --> | |
| <div class="col-md-10 col-sm-10 col-xs-12"> | |
| <script type="text/javascript"> | |
| // date functions | |
| Date.prototype.getWeek = function(start) { | |
| start = start || 0; |
| <div class="row"> | |
| <div class="col-md-2 col-sm-2 col-xs-12"> | |
| <button id="authorize-button" style="visibility: hidden" class="btn btn-primary">Authorize</button> | |
| </div><!-- .col --> | |
| <div class="col-md-10 col-sm-10 col-xs-12"> | |
| <script type="text/javascript"> | |
| // date variables | |
| var now = new Date(); | |
| today = now.toISOString(); |
| <div class="row"> | |
| <div class="col-md-2 col-sm-2 col-xs-12"> | |
| <button id="authorize-button" style="visibility: hidden" class="btn btn-primary">Authorize</button> | |
| </div><!-- .col --> | |
| <div class="col-md-10 col-sm-10 col-xs-12"> | |
| <script type="text/javascript"> | |
| // date variables | |
| var now = new Date(); | |
| today = now.toISOString(); |
| <!-- Pipe Usage in HTML --> | |
| <input placeholder="keyword..." [(ngModel)]="search"/> | |
| <div *ngFor="let item of items | searchPipe:'name':search "> | |
| {{item.name}} | |
| </div> |