pull/157/head
Cory LaViska 2020-08-03 12:54:47 -04:00
rodzic 1e65163983
commit 6a3b2c995d
2 zmienionych plików z 3 dodań i 3 usunięć

4
src/components.d.ts vendored
Wyświetl plik

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

Wyświetl plik

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