Skip to main content

inno-table-base

Basic wrapper component for HTML table element. Will apply the innomotics design on the table elements and scrolling

light background
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
dark background
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum
Lorem ipsumLorem ipsumLorem ipsumLorem ipsum

Overview

Basic wrapper element for html tables. Adds some basic styling to the table and a custom scrollbar with fade-out effect. Can be used without html table as well, in that case only the custom scrollbar with fade-out effect will be applied to the html element.

Properties

PropertyAttributeDescriptionTypeDefault
maskColormask-colorThe fade-out effect while scrolling is achieved by using mask-image and linear-gradient. For it to work properly a color must be set to be the same as the table's background color.string'#ffffff'
variantvariantColor variant of the table;"dark" | "light"'light'

Methods

refresh() => Promise<void>

The component tries its best to always apply the custom scrollbar and the fade-out effect automatically but there might be some cases (especially during/after initalization) where it just simply won't work. In those cases you can call this method manually.

Returns

Type: Promise<void>


Built with StencilJS