Usage
Signature:
interface LegendSectionElement
- Typescript Import Format
- //To typecheck the element APIs, import as below.
 import { LegendSectionElement } from "ojs/ojlegend";
 //For the transpiled javascript to load the element's module, import as below
 import "ojs/ojlegend";
For additional information visit:
Attributes
- 
    
    collapsible :"on"|"off"
- 
    
      Whether the section is collapsible. Only applies if the legend orientation is vertical.- Deprecated:
-  
Since Description 16.0.0Collapsible legend sections are not recommended in the Redwood theme. 
 - Default Value:
- "off"
 
 Supported Values:Value Description offThe legend section will not be collapsible. onThe legend section will be collapsible. 
- 
    
    text :string
- 
    
      The title of the legend section.- Default Value:
- ""
 
 
- 
    
    text-halign :"center"|"end"|"start"
- 
    
      The horizontal alignment of the section title. If the section is collapsible or nested, only start alignment is supported.- Deprecated:
-  
Since Description 15.1.0Individual section title alignment is no longer supported. Use section-title-halign in oj-legend to align all section titles 
 Supported Values:Value Description centerThe section title will be center aligned. endThe section title will be end aligned. startThe section title will be start aligned. 
- 
    
    text-style :Partial<CSSStyleDeclaration>
- 
    
      The CSS style object defining the style of the section title. The following style properties are supported: color, cursor, fontFamily, fontSize, fontStyle, fontWeight, textDecoration.- Deprecated:
-  
Since Description 15.1.0Individual section title style is no longer supported. Use section-title-style in oj-legend to style all section titles 
 - Default Value:
- {}