KC's Workspace
    Preparing search index...

    Interface CustomMediaRule<M>

    A @custom-media rule.

    interface CustomMediaRule<M = MediaQuery> {
        loc: Location2;
        name: string;
        query: MediaList<M>;
    }

    Type Parameters

    Index

    Properties

    Properties

    The location of the rule in the source file.

    name: string

    The name of the declared media query.

    query: MediaList<M>

    The media query to declare.