Skip to content

Instantly share code, notes, and snippets.

View ajile-in's full-sized avatar
🎯
Focusing

Ajay Jadhav ajile-in

🎯
Focusing
View GitHub Profile
@ajile-in
ajile-in / app.html
Created April 29, 2016 09:18 — forked from Thanood/app.html
Aurelia - Materialize Range
<template>
<require from="./combined.html"></require>
<!-- <div>
<md-range md-value.bind="rangeValue"></md-range>
<md-input md-label="put some text here" md-value.bind="rangeValue"></md-input><br />
</div>
<div>
range: ${rangeValue}
</div>-->
@ajile-in
ajile-in / ag-grid.js
Last active August 31, 2016 12:39
Using ag-grid with Aurelia Framework
import { bindable, inlineView } from 'aurelia-framework';
import * as ag from 'ag-grid';
@inlineView(`
<template class="ag-fresh" style="align-self: stretch; flex-grow: 1; -ms-flex: 0 1 auto; flex: 1 1 100%;">
</template>
`)
export class AgGrid {
@bindable columns;
@bindable rows;
@ajile-in
ajile-in / CustomActionResult.cs
Last active December 29, 2015 07:49
Custom action implementation using IHttpActionResult
public class CustomActionResult : IHttpActionResult
{
private HttpStatusCode _statusCode { get; set; }
private string _message { get; set; }
private Exception _exception { get; set; }
public CustomActionResult(HttpStatusCode statusCode, string errorMessage) : this(statusCode, errorMessage, null)
{}
public CustomActionResult(HttpStatusCode statusCode, string errorMessage, Exception exception)