@arcmantle/lit-jsx
    Preparing search index...

    Interface CustomAttributes<T>

    interface CustomAttributes<T> {
        classList?: { [k: string]: undefined | boolean };
        directive?: DirectiveResult<any> | DirectiveResult<any>[];
        ref?: RefOrCallback<T>;
        styleList?: CSSProperties;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    • Partial<
          {
              classList: { [k: string]: undefined
              | boolean };
              directive: DirectiveResult<any> | DirectiveResult<any>[];
              ref: RefOrCallback<T>;
              styleList: CSSProperties;
          },
      >
    Index

    Properties

    classList?: { [k: string]: undefined | boolean }
    directive?: DirectiveResult<any> | DirectiveResult<any>[]

    This property takes in one or more element directives.
    This is akin to applying a directive through <div ${myDirective()}></div>

    ref?: RefOrCallback<T>
    styleList?: CSSProperties