Interface Button<Param>

interface Button<Param> {
    class?: string;
    dropdown?: string[];
    fn?: string | ((param?) => void);
    forceCSS?: boolean;
    hasIcon?: boolean;
    ico?: string;
    key?: string;
    param?: Param;
    tag?: string;
    text?: string;
    title?: string;
    isSupported?(): boolean;
}

Type Parameters

  • Param = unknown

Properties

class?: string
dropdown?: string[]
fn?: string | ((param?) => void)

Type declaration

    • (param?): void
    • Parameters

      Returns void

forceCSS?: boolean
hasIcon?: boolean
ico?: string
key?: string
param?: Param
tag?: string
text?: string
title?: string

Methods

  • Returns boolean