med

Web Tools #351 - JS Utilities, Media Tools, Uncategorizables

Web Tools Weekly

Issue #351 • April 9, 2020

Advertisement via Syndicate
Working From Home? Try Team.Video
Team.video makes it easier and faster for remote teams to work together by offering user friendly video meetings with agendas, collaborative notes, and emoji responses. No download required and it’s free to use.
Try Team.video for FREE!

Last week I covered a really simple introduction to the HTML Drag and Drop API, for those of you who have never used it before. The demo has the minimum code required to produce a drag and drop example. Let's take that a little further and incorporate the dataTransfer object, which has methods and properties that can be used in the midst of a drag and drop operation.

First, I can use the setData() method of the dataTransfer object, which I'll incorporate in the midst of my event listener when listening for a dragstart event (an event I didn't need to use in the previous demo). The relevant line looks something like this (where "e" is the event object):

e.dataTransfer.setData('text/html', box.innerHTML)

As you can see, the setData() method takes two arguments: The data type and the data itself. In this case, the data is simply the innerHTML of the dragged element. This is the first step in transferring data: Setting the data, which happens when the element is initially dragged.

The next key line in my code will be using the getData() method. In this case, I'll use it when the drop event is triggered on my drop area element:

this.style.background = e.dataTransfer.getData('text/html')

The data that I'll be grabbing is text that represents a valid CSS color keyword, which will be inside each draggable element. The data could be a lot of things, but in this case I'm just using some text for demo purposes. And as you can see, the text sets the background color of the drop area element.

See the full working demo here

There's naturally a lot more code there, but it's fairly straightforward. I'm looping over the draggable boxes to add the event listeners to each one. The setData() and getData() methods are used within that loop to obtain and apply the color info.

Try dragging any of the boxes into the drop area to see the background of the drop area change. You can even try changing the HTML to use different colors (any valid CSS color value will work). As long as the color is valid, the background of the drop area element will change to that color.

And that's a basic way to use the dataTransfer object when working with the Drag and Drop API.
 

Now on to this week's tools!
 

JavaScript Utilities

Working From Home? Try Team.Video
Team.video makes it easier and faster for remote teams to work together by offering user friendly video meetings with agendas, collaborative notes, and emoji responses. No download required and it’s free to use.   via Syndicate

Van11y
Bit of an older project that I just discovered. A collection of customizable, accessible scripts for rich interface elements, built using progressive enhancement.

Rsup Progress
A simple progress bar with promises support.

Heapify
A very fast JavaScript priority queue, implemented using a binary heap, with no dependencies.

Nano Events
Simple and tiny (72 bytes) event emitter library for JavaScript.

Chardin.js
Simple overlay instructions for your apps. Kind of like those 'app tour' plugins, but just a single overlay pointing stuff out.

Serialize JavaScript
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.

FullCalendar
A JavaScript calendar plugin, great for displaying events with drag-and-drop capabilities and an API for extending its functionality.

defu
Utility to recursively assign default properties.

Clack
A modern keyboard shortcut library written in Typescript.

Sharect.js
A lightweight (2.9Kb gzipped and minified) JavaScript library to let users share text selections to social networks in desktop browsers (like Medium).

Uppload
A better JavaScript image uploader. Highly customizable with 30+ plugins, open-source, and can be used with any file uploading back end.

Media Tools (SVG, Video, Audio, etc.)

Beginner JavaScript by Wes Bos is 50% Off!
The master package includes 88 HD videos, part of 15 modules – and course updates are free forever.   promoted 

mediasoup
Cutting-edge WebRTC video conferencing. The perfect choice for building multi-party video conferencing and real-time streaming apps.

gifcap
Create animated GIFs in your browser from a screen recording. Client-side only, no data is uploaded.

Tabler Icons
A set of over 400 free MIT-licensed high-quality SVG icons for you to use in your web projects. Each icon is designed on a 24x24 grid and a 2px stroke.

Video Puppet
Using a markdown file, create a video (with captions) from a chosen set of images, audio files and smaller video clips.

Exifr
The fastest and most versatile JavaScript EXIF reading library.

Seamless Pattern Generator
Create seamless, repeatable royalty free patterns for your website, or to download as SVG, JPEG or PNG.

Resoundly
Produce a podcast simply by typing the content and this app will convert it to speech.

Spline
Easily create 3D web experiences without coding. Build and iterate fast with production-ready results.

Photo Stream
Self-hosted, super simple photo stream. Built with Ruby and seems to require either Netlify or Jekyll.

Ionicons
Premium designed icons for use in web, iOS, Android, and desktop apps. Support for SVG and web font.

The Uncategorizables

Advanced React & GraphQL by Wes Bos is 50% Off!
The master package includes 68 HD videos, part of 10 modules – and course updates are free forever.   promoted 

Brim
Desktop application to efficiently search large packet captures and logs from Zeek (the network security monitoring tool).

StartNames
Produces brandable ideas for domain names in a Twitter stream, based on actual domains that are for sale.

WMS Everywhere
Chrome extension to help you research search volume, advertising cost per click, and related keywords inside Google search results – free and on-demand.

PDF.js Express
Add a PDF.js viewer with out-of-the-box annotation, PDF form fill, and signing. Based on Mozilla's PDF.js (for parsing and rendering PDFs).

AsyncAPI
Open source tools to easily build and maintain your event-driven architecture. All powered by the AsyncAPI specification, the industry standard for defining asynchronous APIs.

Weglot
Allows you to make your website multilingual in minutes and to manage all your translations effortlessly.

Our Site Updates
An easy way to post updates to your website (e.g. via easy to install banners) and keep visitors informed.

RightFont
An innovative, beautiful and professional font manager app for Mac, helping designers preview, install, sync, and manage their font files.

PingPong
Remote user interviews and user tests made simple.

Extract Article Text
Lets you easily extract boilerplate-free text from news articles, blogs, press releases, and company pages with a single API request.

Commerce
Drop‑in e‑commerce for any website with a single line of code. Serverless, real‑time, and API‑first.

A Tweet for Thought

When you're living in a tech bubble like many of us are, it's hard to believe there are people this naive.
 

Send Me Your Tools!

Made something? Send links via Direct Message on Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
 

Before I Go...

This is amazing: Open and Shut lets you send messages in Morse code by repeatedly slamming your laptop shut. So if you've been kidnapped and forced to give up all your passwords or something...?

Thanks to everyone for subscribing and reading!

Keep tooling,
Louis
webtoolsweekly.com
@WebToolsWeekly
PayPal.me/WebToolsWeekly




med

[ASAP] Stereochemical Relay through a Cationic Intermediate: Helical Preorganization Dictates Direction of Conrotation in the <italic toggle="yes">halo</italic>-Nazarov Cyclization

Organic Letters
DOI: 10.1021/acs.orglett.0c01330




med

[ASAP] Phosphorus(III)-Mediated, Tandem Deoxygenative Geminal Chlorofluorination of 1,2-Diketones

Organic Letters
DOI: 10.1021/acs.orglett.0c01258




med

[ASAP] Copper-Mediated DNA-Compatible One-Pot Click Reactions of Alkynes with Aryl Borates and TMS-N<sub>3</sub>

Organic Letters
DOI: 10.1021/acs.orglett.0c01219




med

Paper: material, medium and magic / edited by Neil Holt, Nicola von Velsen and Stephanie Jacobs ; with photographs by Thorsten Kern

Browsery TS1105.P134 2018




med

Ten drugs: how plants, powders, and pills have shaped the history of medicine / by Thomas Hager

Browsery RM45.H34 2019




med

Hanging out, messing around, and geeking out: kids living and learning with new media / Mizuko Ito, Sonja Baumer, Matteo Bittanti, danah boyd, Rachel Cody, Becky Herr-Stephenson, Heather A. Horst, Patricia G. Lange, Dilan Mahendran, Katynka Z. Martín

Browsery HQ799.2.M352 H36 2019




med

Stabilization of programmed motion / E. Ya. Smirnov

Online Resource




med

Letter to BS: Amendments proposed in the Electricity Act are ill-timed

The Union Ministry of Power is­­sued a public notice on April 17, detailing drastic changes in the Electricity Act, 2003




med

Did Shah Rukh Khan refuse two-hero film with Salman Khan helmed by Rajkumar...

Did Shah Rukh Khan refuse two-hero film with Salman Khan helmed by Rajkumar...




med

Materials for medical devices / prepared under the direction of the ASM International Handbook Committee ; vol. ed. Roger J. Narayan

Hayden Library - TA459.A5171 1990 v.23




med

Technologies and properties of modern utility materials XXI: selected, peer reviewed papers from the XXI Conference on Technologies and Properties of Modern Utility Materials (TPMUM 2013), May 17, 2013, Katowice, Poland / edited by Jacek Medala and Paweł

Hayden Library - TA481.C67 2014







med

Upconversion-mediated Boltzmann Thermometry in Double-Layered Bi2SiO5:Yb3+,Tm3+@SiO2 Hollow Nanoparticles

J. Mater. Chem. C, 2020, Accepted Manuscript
DOI: 10.1039/D0TC01457E, Paper
Michele Back, Elisa Casagrande, Davide Cristofori, Jumpei Ueda, Setsuhisa Tanabe, Stefano Palazzolo, Flavio Rizzolio, Vincenzo Canzonieri, Enrico Trave, Pietro Riello
Ratiometric optical thermometry is one of the most promising techniques for contactless temperature sensing. However, despite the efforts devoted in the last decades, the development of nanothermometers characterized by high...
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Origin of aggregation-induced enhanced emission: role of pseudo-degenerate electronic states of excimers formed in aggregation phases

J. Mater. Chem. C, 2020, Advance Article
DOI: 10.1039/C9TC07067B, Paper
Wataru Ota, Ken Takahashi, Kenji Higashiguchi, Kenji Matsuda, Tohru Sato
The origin of aggregation-induced enhanced emission (AIEE) is investigated considering cyano-substituted 1,2-bis(pyridylphenyl)ethene (CNPPE) as an example.
To cite this article before page numbers are assigned, use the DOI form of citation above.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Social Media Marketing For Dummies, 4th Edition


 

Make friends and sell things to people through social media 

Social media technology is restlessly inventive, providing thousands of awesome ways for you to market your business inexpensively and on a large scale—often directly into the pockets of consumers. But in the proliferating, ever-changing world of tweets, influencers, handles, and alerts, it can be hard to know where to begin and then to evaluate what’s actually working for you. In the new



Read More...




med

The New Rules of Marketing and PR: How to Use Content Marketing, Podcasting, Social Media, AI, Live Video, and Newsjacking to Reach Buyers Directly, 7th Edition


 

The seventh edition of the pioneering guide to generating attention for your idea or business, packed with new and updated information

In the Digital Age, marketing tactics seem to change on a day-to-day basis. As the ways we communicate continue to evolve, keeping pace with the latest trends in social media, the newest online videos, the latest mobile apps, and all the other high-tech influences can seem an almost impossible task. How can you keep



Read More...




med

Plum rains / Andromeda Romano-Lax

Dewey Library - PS3618.O59 P58 2018




med

The digital banal: new media and American literature and culture / Zara Dinnen

Hayden Library - PS169.T4 D56 2018




med

Risks and security of internet and systems: 14th International Conference, CRiSIS 2019, Hammamet, Tunisia, October 29-31, 2019, Proceedings / Slim Kallel, Frédéric Cuppens, Nora Cuppens-Boulahia, Ahmed Hadj Kacem (Eds.)

Online Resource




med

Signal processing in medicine and biology: emerging trends in research and applications / Iyad Obeid, Ivan Selesnick, Joseph Picone, editors

Online Resource




med

The passenger: opera in two acts / by Mieczysław Weinberg ; libretto by Alexander Medvedev ; after the novel by Zofia Posmysz ; Bregenz Festival, from the Festspielhaus, in co-production with Wielki Teatr Warsaw, English National Opera London, and Teatro

Browsery DVD V195 pas




med

Hommage de l'Orchestre philharmonique de Radio France à Myung-Whun Chung / une production Bel Air Media, Les Chorégies d'Orange, Radio France avec la participation de France Télévisions, Mezzo et le soutien de Centre national

Browsery DVD C4724 hom




med

Got Canterbury?: special features DVD: Romantic warriors III: a progressive music saga: Canterbury tales / produced by Zeitgeist Media ; directed and produced by Adele Schmidt & José Zegarra Holder

Browsery DVD ML394.R663 2015b




med

Berliner Philharmoniker, Sir Simon Rattle: Berlioz, Debussy, Ravel, Fauré, Roussel, Boulez / a production of Berlin Phil Media

Browsery DVD B4548 ber




med

Das Liebesverbot: opera in two acts / a Teatro Real, Sintonía Media, Euroarts production in coproduction with TVE ; by Richard Wagner ; libretto by Richard Wagner ; Kasper Holten, stage director ; TV director, János Darvas ; TVE producer, Jos&#

Browsery DVD W125 lie




med

Score / an Epicleff Media production ; written and directed by Matt Schrader ; produced by Robert Kraft, Trevor Thompson ; produced by Nate Gold, Kenny Holmes

MEDIA DVD ML2075.S367 2017




med

[ASAP] Aggregation-Induced Emission Active Polyacrylates via Cu-Mediated Reversible Deactivation Radical Polymerization with Bioimaging Applications

ACS Macro Letters
DOI: 10.1021/acsmacrolett.0c00281




med

A comprehensive overview of the medicinal chemistry of antifungal drugs: perspectives and promise

Chem. Soc. Rev., 2020, 49,2426-2480
DOI: 10.1039/C9CS00556K, Review Article
Kaitlind C. Howard, Emily K. Dennis, David S. Watt, Sylvie Garneau-Tsodikova
The emergence of new fungal pathogens makes the development of new antifungal drugs a medical imperative that in recent years motivates the talents of numerous investigators across the world.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Influence of nanomedicine mechanical properties on tumor targeting delivery

Chem. Soc. Rev., 2020, 49,2273-2290
DOI: 10.1039/C9CS00575G, Tutorial Review
Zheng Li, Chen Xiao, Tuying Yong, Zifu Li, Lu Gan, Xiangliang Yang
This tutorial review summarizes the influence of nanomedicine mechanical properties on drug delivery efficiency, antitumor efficacy and safety.
The content of this RSS Feed (c) The Royal Society of Chemistry




med

Theatre, social media, and meaning making / Bree Hadley

Hadley, Bree, author




med

Theatre, exhibition, and curation : displayed & performed / Georgina Guy

Guy, Georgina, author




med

The film and media creators' guide to music / Vasco Hexel (Royal College of Music, London)

Hexel, Vasco, 1980- author




med

Polymer nanoparticles for nanomedicines: a guide for their design, preparation and development / Christine Vauthier, Gilles Ponchel, editors

Online Resource




med

Comprehensive Accounts of Pharmaceutical Research and Development: From Discovery to Late-Stage Process Development. / Ahmed F. Abdel-Magid, editor, Jaan A. Pesti, editor, Rajappa Vaidyanathan, editor ; sponsored by the ACS Division of Organic Chemistry

Online Resource




med

Comprehensive accounts of pharmaceutical research and development: from discovery to late-stage process development / Ahmed F. Abdel-Magid, editor, Jaan A. Pesti, editor, Rajappa Vaidyanathan, editor ; sponsored by the ACS Division of Organic Chemistry

Online Resource




med

How aspirin entered our medicine cabinet / Steven M. Rooney, J.N. Campbell

Online Resource




med

Medical management of psychotropic side effects / Aniyizhai Annamalai

Online Resource




med

Anti-diabetes and anti-obesity medicinal plants and phytochemicals: safety, efficacy, and action mechanisms / Bashar Saad, Hilal Zaid, Siba Shanak, Sleman Kadan

Online Resource




med

Phytomedicines, herbal drugs, and poisons / Ben-Erik Van Wyk, Michael Wink

Hayden Library - RM666.H33 V367 2015




med

Plantas medicinais / Mara Zélia de Almeida

Online Resource




med

Advancing healthcare through personalized medicine / Priya Hays

Hayden Library - RM301.3.G45 H39 2017




med

Non-medical and illicit use of psychoactive drugs Suzanne Nielsen, Raimondo Bruno, Susan Schenk, editors

Online Resource




med

Enabling precision medicine: the role of genetics in clinical drug development: proceedings of a workshop / Morgan L. Boname [and four others], rapporteurs ; Forum on Drug Discovery, Development, and Translation ; Roundtable on Genomics and Precision Heal

Online Resource




med

Therapeutic use of medicinal plants and their extracts. A.N.M. Alamgir

Online Resource




med

Medicinal plants and fungi: recent advances in research and development / Dinesh Chandra Agrawal, Hsin-Sheng Tsay, Lie-Fen Shyur, Yang-Chang Wu, Sheng-Yang Wang, editors

Online Resource




med

Concepts in pharmacogenomics: fundamentals and therapeutic applications in personalized medicine / [edited by] Martin M. Zdanowicz

Online Resource




med

Geology and medicine: historical connections / edited by C.J. Duffin, C.Gardner-Thorpe, R.T.J. Moody

Hayden Library - RS166.G354 2017