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
Harm To Ongoing Matter License | |
Copyright (c) 2019 Obstruction Software, Inc. | |
Permission is hereby granted, free of charge and with some harm, | |
to any person obtaining a copy of this software and associated documentation | |
files (the "Software"), to deal in the Software without restriction, with the | |
full knowledge that the Software may cause harm to ongoing matter, subject to | |
following conditions: |
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
import { LitElement, CSSResult, css, property } from 'lit-element'; | |
export abstract class Component extends LitElement { | |
@property({ reflect: true }) | |
public dir: 'ltr' | 'rtl' = 'ltr'; | |
static get styles(): CSSResult { | |
return css` | |
* {box-sizing: border-box;} | |
[hidden] {display: none !important;} |