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
<div class="textBlock"><p>Scroll down... <br><br>All the Divs in the viewport will (upon entering the viewport) be assigned a random background color. <br><br>I can use the Intersection Observer API to detect Viewport entry for any type of element... it can be my pagination approach, for long lists in a single page web app.</p></div> | |
<div id="wrapper"></div> |
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
$('<link>') | |
.appendTo($('head')) | |
.attr({type : 'text/css', rel : 'stylesheet'}) | |
.attr('href', '/css/your_css_file.css'); |
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
using System; | |
using System.Collections.Generic; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
namespace HttpClientApproach | |
{ | |
internal class Contributor | |
{ | |
public string Login { get; set; } |