generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MWPW-152411 raw md doc for web components & events #2903
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
# a[is="checkout-link"] | ||
|
||
HTML Checkout Link Anchor element, extends anchor | ||
special member _onceSettled_ promise that either resolves or fail with web commerce information. | ||
|
||
|
||
# span[is="inline-price"] | ||
|
||
HTML Price Web Component, extends span. | ||
special member _onceSettled_ promise that either resolves or fail with web commerce information. | ||
|
||
|
||
# wcms-commerce | ||
|
||
Custom web component to provide active instance of commerce service | ||
to consumers, appended to the head section of current document. | ||
|
||
|
||
# merch-card-collection | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|----------------------------------|--------------------------------| | ||
| `merch-card-collection:showmore` | `CustomEvent<any>` | | ||
| `merch-card-collection:sort` | `CustomEvent<{ value: any; }>` | | ||
|
||
|
||
# merch-card | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|------------------------|--------------------------------------| | ||
| `merch-card:ready` | `CustomEvent<any>` | | ||
| `merch-storage:change` | `CustomEvent<{ offerSelect: any; }>` | | ||
|
||
|
||
# merch-datasource | ||
|
||
Custom element representing a MerchDataSource. | ||
|
||
|
||
# merch-icon | ||
|
||
|
||
# merch-mnemonic-list | ||
|
||
|
||
# merch-offer-select | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|----------------------------|---------------------| | ||
| `merch-offer-select:ready` | `CustomEvent<any>` | | ||
| `merch-offer:selected` | `CustomEvent<this>` | | ||
|
||
|
||
# merch-offer | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|---------------------|--------------------| | ||
| `merch-offer:ready` | `CustomEvent<any>` | | ||
|
||
|
||
# merch-quantity-select | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|----------------------------------|------------------------------------| | ||
| `merch-quantity-selector:change` | `CustomEvent<{ option: number; }>` | | ||
|
||
|
||
# merch-search | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|-----------------------|-------------------------------------------------| | ||
| `merch-search:change` | `CustomEvent<{ type: string; value: string; }>` | | ||
|
||
|
||
# merch-secure-transaction | ||
|
||
|
||
# merch-stock | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|----------------------|-------------------------------------------------| | ||
| `merch-stock:change` | `CustomEvent<{ checked: any; planType: any; }>` | | ||
|
||
|
||
# merch-subscription-panel | ||
|
||
|
||
# merch-twp-d2p | ||
|
||
|
||
# merch-whats-included | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|--------------------------|--------------------| | ||
| `hide-see-more-elements` | `CustomEvent<any>` | | ||
|
||
|
||
# plans-modal | ||
|
||
|
||
# merch-sidenav-checkbox-group | ||
|
||
|
||
# merch-sidenav-list | ||
|
||
## Events | ||
|
||
| Event | Type | | ||
|------------------------|--------------------------------------------------| | ||
| `merch-sidenav:select` | `CustomEvent<{ type: string; value: any; elt: any; }>` | | ||
|
||
|
||
# merch-sidenav |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,12 @@ const DISPLAY_TAX_MAP = { | |
TEAM_EDU: [GeoMap.sea, GeoMap.kr], // school and uni | ||
}; | ||
|
||
/** @type {Commerce.Price.PlaceholderConstructor} */ | ||
/** | ||
* HTML Price Web Component, extends span. | ||
* special member _onceSettled_ promise that either resolves or fail with web commerce information. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it always resolves actually. when it fails, it will add placeholder-failed class to the element. |
||
* | ||
* @element span[is="inline-price"] | ||
**/ | ||
export class HTMLPriceSpanElement extends HTMLSpanElement { | ||
static is = 'inline-price'; | ||
static tag = 'span'; | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would not include anything that is not ready yet like
merch-subscription-panel, merch-twp-d2p, merch-whats-included Comment