From a77e3abcf663343d4a385fe1cdc4a05c5e15aa01 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Wed, 27 May 2020 21:06:32 +0200 Subject: [PATCH 1/2] pat-push: New pattern for replacing html content on push events. --- CHANGES.md | 1 + index.html | 1 + src/pat/push/documentation.md | 10 +++++++ src/pat/push/index-push-content.html | 1 + src/pat/push/index.html | 43 ++++++++++++++++++++++++++++ src/pat/push/push.js | 43 ++++++++++++++++++++++++++++ src/patterns.js | 1 + webpack/base.config.js | 3 +- 8 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 src/pat/push/documentation.md create mode 100644 src/pat/push/index-push-content.html create mode 100644 src/pat/push/index.html create mode 100644 src/pat/push/push.js diff --git a/CHANGES.md b/CHANGES.md index 7441d1e08..4f1a3ece2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,7 @@ Features ~~~~~~~~ +- pat-push: New pattern for replacing html content on push events. - pat-scroll-box: New pattern for scrolling detection. Replaces the previous "scroll detection" module. - pat-inject: Rename undocumented ``selector`` property to ``defaultSelector``. - pat-inject: Fix typo in docs for the ``source`` property. diff --git a/index.html b/index.html index b7d7abb9d..e7e43d747 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,7 @@

Behavioural

Cloneβ Scrollβ Scroll Boxβ + Pushβ