(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| <?php | |
| /** | |
| * Register block patterns. | |
| * Include this file in your theme, and update image paths, prefix and text domain. | |
| * | |
| * @link https://developer.wordpress.org/block-editor/developers/block-api/block-patterns/ | |
| */ | |
| /** | |
| * Make sure that block patterns are enabled before registering. | 
| /** | |
| * Enqueue Block Filters. | |
| */ | |
| function enqueue_my_block_filters() { | |
| wp_register_script( | |
| 'block-style-filter', | |
| plugins_url( 'block-style-filter', __FILE__ ), | |
| array( 'wp-blocks', 'wp-element' ) | |
| ); | |
| } | 
| const WordpressPurgeCSS = { | |
| whitelist: [ | |
| "rtl", | |
| "home", | |
| "blog", | |
| "archive", | |
| "date", | |
| "error404", | |
| "logged-in", | |
| "admin-bar", | 
| <div class="video-container"> | |
| <img src="img/yt-video.jpg"/ id="play-video" class="img-responsive"> | |
| <iframe style="display:none" id="video" src="https://www.youtube.com/embed/SzmioR4Dj8E" frameborder="0" allowfullscreen></iframe> | |
| </div> | 
| import { AfterViewInit, Component, ElementRef, Input, OnChanges, SimpleChanges, ViewChild } from '@angular/core'; | |
| import { HighChartService } from './highchart.service'; | |
| @Component({ | |
| selector: 'fb-highchart', | |
| template: '<div *ngIf="config"></div>', | |
| providers: [HighChartService] | |
| }) | |
| export class HighChartComponent implements OnChanges, AfterViewInit { | |
| @Input() config: any; | 
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| // link : https://medium.com/p/24cfae349724 | |
| // version : 1.0.0 | |
| scss/ | |
| | | |
| |— site/ # website namespace | |
| | |— modules/ | |
| | |— common/ | |
| | |— _footer.scss | 
        | #sidebar | |
| .sidebar-item.open | |
| .title Item 1 | |
| .info | |
| label Some controls | |
| input(type='checkbox') | |
| label More controls | |
| input(type='checkbox') | 
| -- Two dashes start a one-line comment. | |
| --[[ | |
| Adding two ['s and ]'s makes it a | |
| multi-line comment. | |
| --]] | |
| ---------------------------------------------------- | |
| -- 1. Variables and flow control. | |
| ---------------------------------------------------- |