dynamic-web-header
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

dynamic-web-header

random-crypto-api is a Typescript/Javascript library to generate random Numbers or Strings.

Overview

A simple Typescript/JavaScript library for dynamically change site icon and title. This package allows you to change site icon and title on the basis of condition and pages.

Node.js (Install)

Requirements:

  • Node.js
  • npm (Node.js package manager)
npm install dynamic-web-header

Usage

import { icon, title} from 'dynamic-web-header';

  <button onClick={ ()=>{(title('My new title'))}}> click </button>  // change the title

  <button onClick={ ()=>{(icon('https://xyz.com/icon.png'))}}> click </button>  // change the icon




// OR 

import dynamicWebHeader from 'dynamic-web-header';

  <button onClick={ ()=>{(dynamicWebHeader.title('My new title'))}}> click </button>  // change the title

  <button onClick={ ()=>{(dynamicWebHeader.icon('https://xyz.com/icon.png'))}}> click </button>  // change the icon
  

Readme

Keywords

Package Sidebar

Install

npm i dynamic-web-header

Weekly Downloads

6

Version

1.0.2

License

MIT

Unpacked Size

3.98 kB

Total Files

5

Last publish

Collaborators

  • emrarock