Update docs

This commit is contained in:
Cory LaViska
2020-08-03 12:54:47 -04:00
parent 1e65163983
commit 6a3b2c995d
2 changed files with 3 additions and 3 deletions

4
src/components.d.ts vendored
View File

@@ -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;
}

View File

@@ -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. */