Advanced Search
Search Results
4 total results found
Angular Context Menu
Here’s some notes on context menus in Angular. This article was used as basis: Context Menus Made Easy with Angular CDK The above article reference included a working StackBlitz, downloaded, here: angular-yd6ay3.zip It uses the overlay functionality from An...
HTML CSS Prevent Text Selection
Here’s a simple css style you can add to your styles.scss of any project, to prevent user selection of text. .prevent-select { -webkit-user-select: none; /* Safari */ -ms-user-select: none; /* IE 10 and IE 11 */ user-select: none; /* Standard syntax ...
Angular: Access CSS Variables
CSS Variables can be defined in css (or SCSS) like this: NOTE: These are defines in the root element, in the styles.scss file of an app. :root { --sidenav-width: 300px; --sidenav-collapsed-width: 50px; --sidenav-background-color: var(--app-bac...
Web Push Notifications
Here’s some initial references for setting up Push Notifications in web pages. Service Worker API - Web APIs | MDN Push API - Web APIs | MDN Push notifications overview | Articles | web.dev Push notifications are now supported cross-browser | Blog |...