Propmpt for a top level component HTML class

Created on 22 April 2023, over 1 year ago
Updated 4 June 2023, over 1 year ago

Problem/Motivation

Prompt the user if they want to add a top level HTML class for the component.

Proposed resolution

Once we have the desired class:

  1. Add it to the Twig file: attributes.addClass({{ top_level_class }})
  2. Use it for the scaffolded CSS instead of the data attribute selector
Feature request
Status

Active

Version

2.0

Component

Code

Created by

e0ipso Can Picafort

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024