Skip to content

Instantly share code, notes, and snippets.

View alyssamichelle's full-sized avatar
🖤
It's going to be OK

Alyssa Michelle Nicoll alyssamichelle

🖤
It's going to be OK
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alyssamichelle
alyssamichelle / mallet.svg
Created April 9, 2020 19:25
Mallet for an SVG Gong
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
MouseEvent {
isTrusted: true,
screenX: 431,
screenY: 443,
clientX: 431,
clientY: 309,
ctrlKey: false,
shiftKey: false,
altKey: false,
metaKey: false,
<kendo-grid-column field="day_change" title="Change" media="(min-width: 768px)">
<ng-template kendoGridCellTemplate let-dataItem>
<span [ngClass]="{ 'grid-cell-positive' : dataItem.day_change > 0, 'grid-cell-negative' : dataItem.day_change < 0 }">
{{ dataItem.day_change > 0 ? ('+' + dataItem.day_change) : dataItem.day_change }}
</span>
</ng-template>
</kendo-grid-column>
<kendo-grid-column field="change_pct" title="%Change" media="(min-width: 768px)">
<ng-template kendoGridCellTemplate let-dataItem>
@alyssamichelle
alyssamichelle / stock-chart.component.html
Last active May 7, 2020 20:35
File from the Kendo UI Financial Portfolio Demo App: examples-standalone/finance-portfolio/src/app/components/stock-chart/stock-chart.component.html
<div class="container">
<div class="row py-4 d-flex justify-content-between align-items-center">
<div class="col col-4 d-flex daterange-input-wrap">
<kendo-daterange>
<kendo-dateinput
kendoDateRangeStartInput
[autoCorrectOn]="'change'"
[min]="calendarMin"
[max]="calendarMax"
[(ngModel)]="range.start"