kopia lustrzana https://github.com/shoelace-style/shoelace
Update docs
rodzic
1e65163983
commit
6a3b2c995d
|
@ -194,7 +194,7 @@ export namespace Components {
|
|||
*/
|
||||
"show": () => Promise<boolean>;
|
||||
/**
|
||||
* The summary to show in the details header.
|
||||
* The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
|
||||
*/
|
||||
"summary": string;
|
||||
}
|
||||
|
@ -1376,7 +1376,7 @@ declare namespace LocalJSX {
|
|||
*/
|
||||
"open"?: boolean;
|
||||
/**
|
||||
* The summary to show in the details header.
|
||||
* The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
|
||||
*/
|
||||
"summary"?: string;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ export class Details {
|
|||
/** Indicates whether or not the details is open. You can use this in lieu of the show/hide methods. */
|
||||
@Prop({ mutable: true, reflect: true }) open = false;
|
||||
|
||||
/** The summary to show in the details header. */
|
||||
/** The summary to show in the details header. If you need to display HTML, use the `summary` slot instead. */
|
||||
@Prop() summary = '';
|
||||
|
||||
/** Set to true to prevent the user from toggling the details. */
|
||||
|
|
Ładowanie…
Reference in New Issue