こちらはStyled-componentsの使い方、ユースケースを集めた端的なページです。
なにかの問題解決、参考になりましたらスターを押してくださいませ。励みになります。
This file contains hidden or 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
/** | |
* Export all data from an IndexedDB database | |
* | |
* @param {IDBDatabase} idbDatabase The database to export from | |
* @return {Promise<string>} | |
*/ | |
export function exportToJson(idbDatabase) { | |
return new Promise((resolve, reject) => { | |
const exportObject = {} | |
if (idbDatabase.objectStoreNames.length === 0) { |
This file contains hidden or 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
const detectFace = () => { | |
if(!window.FaceDetector) return console.log('Unsupported Version or Feature is not enabled') | |
const img = document.querySelector('#targetImg'); | |
const faceDetector = new FaceDetector(); | |
const scale = img.width / img.naturalWidth; | |
faceDetector | |
.detect(img) | |
.then(faces => | |
faces.map(face => face.boundingBox) | |
) |
This file contains hidden or 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
(ql:quickload :parenscript) | |
(ql:quickload :cl-who) | |
(ql:quickload :clack) | |
(in-package :ps) | |
(defvar *canvas-id* "alien-canvas") | |
(clack:clackup | |
(lambda (env) | |
(list 200 | |
'(:content-type "text/html") | |
(list |
日時: | 2025-03-15 |
---|---|
作: | 時雨堂 |
バージョン: | 2025.2 |
URL: | https://shiguredo.jp/ |
時雨堂クラウドサービスを支える技術