This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for OpenSeadragon 2.4 | |
// Project: https://openseadragon.github.io/ | |
// Definitions by: Álvaro Martínez <https://github.com/alvaromartmart> | |
// RobertYost <https://github.com/RobertYost> | |
// Jasper Staab <https://github.com/jstaab> | |
// Kristin Ruben <https://github.com/kristinruben> | |
// Geoff Harper <https://github.com/geoff-harper> | |
// Justin <https://github.com/justincy> | |
// Definitions: https://github.com/alvaromartmart/types-openseadragon | |
// TypeScript Version: 3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This contains sample code which tests the typings. This code does not run, but it is type-checked. | |
import * as one from "onecolor"; | |
import onecolor = require("onecolor"); | |
one.color('#a9d91d') // Regular hex syntax | |
// Contrustor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for serve-static 1.13 | |
// Project: https://github.com/expressjs/serve-static | |
// Definitions by: Uros Smolnik <https://github.com/urossmolnik> | |
// Linus Unnebäck <https://github.com/LinusU> | |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
// TypeScript Version: 2.3 | |
/* =================== USAGE =================== | |
import * as serveStatic from "serve-static"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected override void BuildRenderTree(RenderTreeBuilder builder) | |
{ | |
base.BuildRenderTree(builder); | |
builder.OpenElement(0, "nav"); | |
builder.AddAttribute(1, "class", "menu"); | |
builder.OpenElement(2, "ul"); | |
builder.OpenElement(3, "li"); | |
builder.OpenComponent<NavLink>(4); | |
builder.AddAttribute(5, "href", "/"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma checksum "Counter.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "d4fabfd6e6d002e957b53fad126e1419708789b9" | |
// <auto-generated/> | |
#pragma warning disable 1591 | |
namespace WebApplication1.Pages | |
{ | |
#line hidden | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/demo/src/app/components/tabset/tabset.module.ts b/demo/src/app/components/tabset/tabset.module.ts | |
index 3206e7a..4f1b23b 100644 | |
--- a/demo/src/app/components/tabset/tabset.module.ts | |
+++ b/demo/src/app/components/tabset/tabset.module.ts | |
@@ -13,6 +13,8 @@ import { NgbdTabsetJustify } from './demos/justify/tabset-justify'; | |
import { NgbdTabsetJustifyModule } from './demos/justify/tabset-justify.module'; | |
import { NgbdTabsetOrientation } from './demos/orientation/tabset-orientation'; | |
import { NgbdTabsetOrientationModule } from './demos/orientation/tabset-orientation.module'; | |
+import { NgbdTabsetPosition } from './demos/position/tabset-position'; | |
+import { NgbdTabsetPositionModule } from './demos/position/tabset-position.module'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://cdpn.io/blazejewicz/debug/jONRRrY/yoMZEOGvLVOk? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable } from '@angular/core'; | |
import { | |
HttpEvent, | |
HttpRequest, | |
HttpHandler, | |
HttpInterceptor, | |
HttpResponse | |
} from '@angular/common/http'; | |
import { Observable, of } from 'rxjs'; | |
import { camelCase, mapKeys } from 'lodash'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { stringResourceFile } from 'src/decorators/string-resource-file.decorator'; | |
import { environment } from 'src/environments/environment'; | |
@stringResourceFile(environment.production) | |
export class AppComponentStrings { | |
title = 'RESOURCE{{file}:{key}:{Hello World}}'; | |
description = 'RESOURCE{{file}:{key}:{Hello World Description}}'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular | |
.module('myApp') | |
.component('myProfile', { | |
template: `<h2>{{$ctrl.person.firstName}} details!</h2> | |
<div><label>id: </label>{{$ctrl.person.lastName}}</div> | |
<button ng-click="$ctrl.onDelete()">Delete</button>`, | |
bindings: { | |
person: '<', | |
deleted: '&' | |
}, |