my-button.component.yml
Same filename in this branch
Same filename in other branches
- 11.x core/modules/sdc/tests/modules/sdc_test/components/my-button/my-button.component.yml
- 11.x core/modules/sdc/tests/modules/sdc_test_replacements/components/my-button/my-button.component.yml
- 11.x core/modules/system/tests/modules/sdc_test/components/my-button/my-button.component.yml
- 11.x core/modules/system/tests/modules/sdc_test_replacements/components/my-button/my-button.component.yml
File
-
core/
modules/ system/ tests/ modules/ sdc_test_replacements/ components/ my-button/ my-button.component.yml
View source
- $schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json
- name: Button
- replaces: 'sdc_test:my-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
- 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.