mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
Update docs
This commit is contained in:
4
src/components.d.ts
vendored
4
src/components.d.ts
vendored
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user