Socket
Book a DemoInstallSign in
Socket

@uxland/no-content

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uxland/no-content

UXLand - No Content component

latest
npmnpm
Version
2.0.0
Version published
Maintainers
2
Created
Source

<uxl-no-content>

What is?

It is a web component that allows you to create a no content component.

How Install
npm i --save @uxland/no-content
How to use?

import the component and use it in the html with the uxl-no-content tag

import "@uxland/no-content";

<body>
    <uxl-no-content></uxl-no-content>
</body>
How customize

Its posible customize the icon & mesages

<body>
    <uxl-no-content>
        <div slot="icon">
            <iron-icon icon="custom-icon"></iron-icon>
        </div>
        <div slot="message">
            Custom text message
        </div>
    </uxl-no-content>
</body>

How Stylize

Its posible customize style with css shadow parts

uxl-no-content{

    &::part(icon__container){
        ...
    }

    &::part(icon__slot){
        ...
    }

    &::part(message__container){
        ...
    }

    &::part(message__slot){
        ...
    }
}

Keywords

polymer

FAQs

Package last updated on 16 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts