mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
docs(toggle): remove extra backtick to fix formatting (#29160)
Removes the extra backtick in the `alignment` property description that is causing formatting issues in the [Toggle documentation](https://ionicframework.com/docs/api/toggle#properties): <img width="754" alt="Screenshot 2024-03-13 at 4 45 58 PM" src="https://github.com/ionic-team/ionic-framework/assets/6577830/d1430baf-c316-41b8-ba9c-c1b196c99d41">
This commit is contained in:
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -3211,7 +3211,7 @@ export namespace Components {
|
|||||||
}
|
}
|
||||||
interface IonToggle {
|
interface IonToggle {
|
||||||
/**
|
/**
|
||||||
* How to control the alignment of the toggle and label on the cross axis. ``"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL.
|
* How to control the alignment of the toggle and label on the cross axis. `"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL.
|
||||||
*/
|
*/
|
||||||
"alignment": 'start' | 'center';
|
"alignment": 'start' | 'center';
|
||||||
/**
|
/**
|
||||||
@ -8037,7 +8037,7 @@ declare namespace LocalJSX {
|
|||||||
}
|
}
|
||||||
interface IonToggle {
|
interface IonToggle {
|
||||||
/**
|
/**
|
||||||
* How to control the alignment of the toggle and label on the cross axis. ``"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL.
|
* How to control the alignment of the toggle and label on the cross axis. `"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL. `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL.
|
||||||
*/
|
*/
|
||||||
"alignment"?: 'start' | 'center';
|
"alignment"?: 'start' | 'center';
|
||||||
/**
|
/**
|
||||||
|
@ -119,7 +119,7 @@ export class Toggle implements ComponentInterface {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* How to control the alignment of the toggle and label on the cross axis.
|
* How to control the alignment of the toggle and label on the cross axis.
|
||||||
* ``"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL.
|
* `"start"`: The label and control will appear on the left of the cross axis in LTR, and on the right side in RTL.
|
||||||
* `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL.
|
* `"center"`: The label and control will appear at the center of the cross axis in both LTR and RTL.
|
||||||
*/
|
*/
|
||||||
@Prop() alignment: 'start' | 'center' = 'center';
|
@Prop() alignment: 'start' | 'center' = 'center';
|
||||||
|
Reference in New Issue
Block a user