-
Notifications
You must be signed in to change notification settings - Fork 10
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
docs: mixins utilities PTL-1696 #2016
Conversation
277b514
to
bc1fe51
Compare
template: html`<!-- template here -->`, | ||
}) | ||
export class MyExampleComponent extends LifecycleMixin(GenesisElement) { | ||
// Your element's implementation |
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.
can we flesh this out with a simple example? Not even sure myself what we can do with this.
template: html`<!-- template here -->`, | ||
}) | ||
export class MyExampleComponent extends PendingState(GenesisElement) { | ||
// Element logic that involves asynchronous operations |
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.
same here
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.
Patrick is correct we really need to flesh out the examples, but I am happy to merge this for now and then we elaborate on them later. I can take up the example for LifecycleMixin but someone else can look at the other
docs/001_develop/03_client-capabilities/014_utility-methods/08_mixins-util.mdx
Outdated
Show resolved
Hide resolved
…_mixins-util.mdx Co-authored-by: Matt Walker <43502076+matteematt@users.noreply.github.com>
ATTENTION! NEW DOCS STRUCTURE
FOR THE NEXT THREE WEEKS, ONLY BRANCH FROM new-docs-structure
OTHERWISE, WAIT UNTIL THE NEW STRUCTURE HAS BEEN RELEASED
Thank you for contributing to the documentation.
Do the changes you have made apply to both Current and Previous versions?
No
Have you done a trial build to check all new or changed links?
Yes
Is there anything else you would like us to know?
No
This week's exciting advice from the style guide
Write your headings in sentence case:
This is a correct heading.
This is not a correct heading.