From 1b3fb93f787b8b546a307bf063183f5295d183f8 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期一, 26 六月 2023 16:53:25 +0800 Subject: [PATCH] merge --- force-app/main/default/lwc/parentComponentTest/parentComponentTest.html | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/lwc/parentComponentTest/parentComponentTest.html b/force-app/main/default/lwc/parentComponentTest/parentComponentTest.html new file mode 100644 index 0000000..572df46 --- /dev/null +++ b/force-app/main/default/lwc/parentComponentTest/parentComponentTest.html @@ -0,0 +1,44 @@ +<template> + <lightning-card title="Augmentor" icon-name="action:download"> + <lightning-layout> + <lightning-layout-item flexibility="auto" padding="around-small"> + <lightning-input + label="Set Starting Counter" + type="number" + min="0" + max="1000000" + value={startCounter} + onchange={handleStartChange} + > + </lightning-input> + <lightning-button + class="slds-var-p-vertical_xx-small" + label="Add 1m To Counter" + onclick={handleMaximizeCounter} + > + </lightning-button> + </lightning-layout-item> + </lightning-layout> + <c-child-component-test + class="slds-show slds-is-relative" + counter={startCounter} + > + </c-child-component-test> + <lightning-vertical-navigation selected-item={newPageId}> + <lightning-vertical-navigation-section + label="Navigation" + selected-item={newPageId} + > + <template for:each={navigationItems} for:item="navigationItem"> + <lightning-vertical-navigation-item + key={navigationItem.pageId} + label={navigationItem.label} + name={navigationItem.pageId} + onclick={handleNavigate} + ></lightning-vertical-navigation-item> + </template> + </lightning-vertical-navigation-section> + </lightning-vertical-navigation> + <p>Current Page is <strong>{newPageId}</strong></p> + </lightning-card> +</template> \ No newline at end of file -- Gitblit v1.9.1