Skip to main content

createLogicalPropertiesConfig

Callable

  • createLogicalPropertiesConfig<Severity, Options>(severity?: Severity, options?: Options): { plugins: { logical-properties: { meta: { name: string; version: string }; rules: { border: RuleModule; border-radius: RuleModule; clear: RuleModule; float: RuleModule; inset: RuleModule; margin: RuleModule; overflow: RuleModule; overscroll-behavior: RuleModule; padding: RuleModule; size: RuleModule; textAlign: RuleModule } } }; rules: { logical-properties/border: [Severity, ...Options[]]; logical-properties/border-radius: [Severity, ...Options[]]; logical-properties/clear: [Severity, ...Options[]]; logical-properties/float: [Severity, ...Options[]]; logical-properties/inset: [Severity, ...Options[]]; logical-properties/margin: [Severity, ...Options[]]; logical-properties/overflow: [Severity, ...Options[]]; logical-properties/overscroll-behavior: [Severity, ...Options[]]; logical-properties/padding: [Severity, ...Options[]]; logical-properties/size: [Severity, ...Options[]]; logical-properties/textAlign: [Severity, ...Options[]] } }

  • Type parameters

    • Severity: RuleSeverity = error
    • Options: Partial<PluginOptions> = {}

    Parameters

    • severity: Severity = ...
    • options: Options = ...

    Returns { plugins: { logical-properties: { meta: { name: string; version: string }; rules: { border: RuleModule; border-radius: RuleModule; clear: RuleModule; float: RuleModule; inset: RuleModule; margin: RuleModule; overflow: RuleModule; overscroll-behavior: RuleModule; padding: RuleModule; size: RuleModule; textAlign: RuleModule } } }; rules: { logical-properties/border: [Severity, ...Options[]]; logical-properties/border-radius: [Severity, ...Options[]]; logical-properties/clear: [Severity, ...Options[]]; logical-properties/float: [Severity, ...Options[]]; logical-properties/inset: [Severity, ...Options[]]; logical-properties/margin: [Severity, ...Options[]]; logical-properties/overflow: [Severity, ...Options[]]; logical-properties/overscroll-behavior: [Severity, ...Options[]]; logical-properties/padding: [Severity, ...Options[]]; logical-properties/size: [Severity, ...Options[]]; logical-properties/textAlign: [Severity, ...Options[]] } }

    • readonlyplugins: { logical-properties: { meta: { name: string; version: string }; rules: { border: RuleModule; border-radius: RuleModule; clear: RuleModule; float: RuleModule; inset: RuleModule; margin: RuleModule; overflow: RuleModule; overscroll-behavior: RuleModule; padding: RuleModule; size: RuleModule; textAlign: RuleModule } } }
      • readonlylogical-properties: { meta: { name: string; version: string }; rules: { border: RuleModule; border-radius: RuleModule; clear: RuleModule; float: RuleModule; inset: RuleModule; margin: RuleModule; overflow: RuleModule; overscroll-behavior: RuleModule; padding: RuleModule; size: RuleModule; textAlign: RuleModule } }
        • readonlymeta: { name: string; version: string }
          • readonlyname: string
          • readonlyversion: string
        • rules: { border: RuleModule; border-radius: RuleModule; clear: RuleModule; float: RuleModule; inset: RuleModule; margin: RuleModule; overflow: RuleModule; overscroll-behavior: RuleModule; padding: RuleModule; size: RuleModule; textAlign: RuleModule }
          • readonlyborder: RuleModule
          • readonlyborder-radius: RuleModule
          • readonlyclear: RuleModule
          • readonlyfloat: RuleModule
          • readonlyinset: RuleModule
          • readonlymargin: RuleModule
          • readonlyoverflow: RuleModule
          • readonlyoverscroll-behavior: RuleModule
          • readonlypadding: RuleModule
          • readonlysize: RuleModule
          • readonlytextAlign: RuleModule
    • readonlyrules: { logical-properties/border: [Severity, ...Options[]]; logical-properties/border-radius: [Severity, ...Options[]]; logical-properties/clear: [Severity, ...Options[]]; logical-properties/float: [Severity, ...Options[]]; logical-properties/inset: [Severity, ...Options[]]; logical-properties/margin: [Severity, ...Options[]]; logical-properties/overflow: [Severity, ...Options[]]; logical-properties/overscroll-behavior: [Severity, ...Options[]]; logical-properties/padding: [Severity, ...Options[]]; logical-properties/size: [Severity, ...Options[]]; logical-properties/textAlign: [Severity, ...Options[]] }
      • logical-properties/border: [Severity, ...Options[]]
      • logical-properties/border-radius: [Severity, ...Options[]]
      • logical-properties/clear: [Severity, ...Options[]]
      • logical-properties/float: [Severity, ...Options[]]
      • logical-properties/inset: [Severity, ...Options[]]
      • logical-properties/margin: [Severity, ...Options[]]
      • logical-properties/overflow: [Severity, ...Options[]]
      • logical-properties/overscroll-behavior: [Severity, ...Options[]]
      • logical-properties/padding: [Severity, ...Options[]]
      • logical-properties/size: [Severity, ...Options[]]
      • logical-properties/textAlign: [Severity, ...Options[]]