Skip to main content
Module

x/ruck/documentHasStyleSheet.mjs>default

Ruck is an open source buildless React web application framework for Deno.
Go to Latest
function default
import { default } from "https://deno.land/x/ruck@v7.0.0/documentHasStyleSheet.mjs";

Checks if the document has a style sheet that finished loading (successfully or not). This is not intended to detect pending or in progress reloading. It’s possible for the document to have multiple style sheets with the same href; if any are loaded the CSS is considered loaded.

Parameters

href

CSS URL that’s absolute or relative to the document.baseURI.