Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Module
- # NOTE: The last line lowercases the first letter of the 1st variable and stores it as the 2nd
- # variable
- snippet uim "Create a UI module" m
- import { NgModule } from '@angular/core';
- import { CommonModule } from '@angular/common';
- /*
- *import {
- * MdButtonModule,
- *} from '@angular/material';
- */
- import { Ts${1:Foo}Component } from './$2.component';
- export { Ts$1Component } from './$2.component';
- @NgModule({
- imports: [
- CommonModule,
- ],
- exports: [
- Ts$1Component,
- ],
- declarations: [
- Ts$1Component,
- ],
- })
- export class Ts$1Module {}
- `!p t[2] = t[1][:1].lower() + t[1][1:]`
- endsnippet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement