You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
690 B
28 lines
690 B
<script type="module">
|
|
class FileView extends HTMLElement {
|
|
constructor() {
|
|
super()
|
|
}
|
|
|
|
connectedCallback() {
|
|
const style = document.createElement('style')
|
|
style.textContent = `
|
|
`
|
|
this.shadowRoot.appendChild('style')
|
|
}
|
|
}
|
|
|
|
customElements.add('m-file-view', FileView)
|
|
</script>
|
|
|
|
<!--
|
|
|
|
Each file has a header with the filename, an edit icon, and a menu icon. When editing, the . When not editing, tapping on the filename expands and collapses it.
|
|
|
|
Tapping on a line selects it and shows icons, tapping on another line selects down to that line.
|
|
|
|
At the top is a dropdown for selecting the file and a button for.
|
|
|
|
After all the files is a plus skeleton icon bar.
|
|
|
|
-->
|