Files
owl/tests/components
Bruno Boi ee5ad354ff [IMP] tags: reintroduce inline css tag
The CSS tag is useful to define a css stylesheet in the javascript file:
```js
class MyComponent extends Component {
  static template = xml`
        <div class="my-component">some template</div>
    `;
  static style = css`
    .my-component {
      color: red;
    }
  `;
}
```

The `css` tag registers internally the css information. Then, whenever the first instance of the component is created, will add a <style> tag to the document <head>.

Original commit in Owl v1: 953778dc5
2021-11-03 10:07:14 +01:00
..
2021-10-20 15:11:25 +02:00
2021-10-26 09:05:33 +02:00
2021-10-20 15:11:25 +02:00
2021-10-20 15:11:25 +02:00
2021-10-21 10:34:54 +02:00
2021-10-20 15:11:25 +02:00
2021-10-20 15:52:43 +02:00
2021-10-20 15:16:25 +02:00