Skip to content
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

Test me #1

Open
daKmoR opened this issue Feb 22, 2020 · 1 comment
Open

Test me #1

daKmoR opened this issue Feb 22, 2020 · 1 comment

Comments

@daKmoR
Copy link
Owner

daKmoR commented Feb 22, 2020

The property backside is not doing anything.

See the demo below

import { html } from 'lit-html';
import 'demo-wc-card/demo-wc-card.js';

export const header = () => {
  return html`
    <demo-wc-card backside .header=${'my other header'}></demo-wc-card>
  `;
};
@daKmoR
Copy link
Owner Author

daKmoR commented Feb 22, 2020

You probably meant to use the attribute back-side.

Here is it working

import { html } from 'lit-html';
import 'demo-wc-card/demo-wc-card.js';

export const header = () => {
  return html`
    <demo-wc-card back-side .header=${'my other header'}></demo-wc-card>
  `;
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant