Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-packages/customize/lib/sidebar/hasControlChanged"

Index

Variables

Const CUSTOMIZE_CLASS_CHECKBOX

CUSTOMIZE_CLASS_CHECKBOX: "customize-control customize-control-checkbox" = "customize-control customize-control-checkbox"

Functions

hasControlChanged

  • hasControlChanged(controlId: string, defaultValue: any): boolean
  • Check if a given control has a different value against the default.

    Parameters

    • controlId: string
    • defaultValue: any

    Returns boolean

Generated using TypeDoc