my-button.component.yml
Same filename in this branch
Same filename in other branches
- 10 core/modules/sdc/tests/modules/sdc_test/components/my-button/my-button.component.yml
- 10 core/modules/sdc/tests/modules/sdc_test_replacements/components/my-button/my-button.component.yml
- 10 core/modules/system/tests/modules/sdc_test/components/my-button/my-button.component.yml
- 10 core/modules/system/tests/modules/sdc_test_replacements/components/my-button/my-button.component.yml
File
-
core/
modules/ sdc/ tests/ modules/ sdc_test/ components/ my-button/ my-button.component.yml
View source
- $schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json
- name: Button
- description: JavaScript enhanced button that tracks the number of times a user clicked it.
- libraryOverrides:
- dependencies:
- - core/once
- props:
- type: object
- required:
- - text
- properties:
- text:
- type: string
- title: Title
- description: The title for the button
- minLength: 2
- examples:
- - Press
- - Submit now
- iconType:
- type: string
- title: Icon Type
- enum:
- - power
- - like
- - external
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.