
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@videsk/headway-sdk
Advanced tools
Videsk is not proprietary of Headwayapp.co, and not have any business direct relation with Headway App, Inc. This SDK was developed because Videsk need integrate Headway app in custom UI, more programmatically and flexible.
Please take as real needs of a customer, not intent of break copyrights.
npm i @videsk/headway-sdk
const changelog = new HeadwaySDK();
changelog.on('height', height => {
// Set height to the iframe or parent node that contain the iframe
});
changelog.on('ready', (changelogs) => {
// Do something if you want or with changelogs
// The changelogs is an array
});
const element = document.querySelector('body');
changelog.render(element);
The SDK provide a list of events. Events can be set by property event
or method on
, after instance the class.
property
changelog.events.ready = function () {
// Do something
};
changelog.events.badge = function () {
// Do something
};
method
changelog.on('ready', function () {
// Do something
});
changelog.on('badge', function () {
// Do something
});
Ready event is emitted when the widget (iframe) was loaded successfully. Returns the changelogs as argument.
changelog.on('ready', function (changelogs) {
// Do something
});
Badge event is emitted to set the number of changelogs has not been seen. Returns the number of changelog as argument.
changelog.on('badge', function (number) {
// Set badge on your DOM node
})
Height event is emitted to set the height of iframe or parent node in pixels. This is based on height of website iframe to avoid showing an overflow.
This event can consider as optional to listen, because if you don't listen an overflow will display on iframe.
changelog.on('height', function (height) {
// Apply height to custom node.
iframe.style.height = height + 'px'; // Example
iframeContainer.style.height = height + 'px'; // Example
});
This SDK was develop by Videsk, but the real proprietary is Headway App, Inc., and is mandated to decide to eliminate or unpublished this code.
FAQs
Headway SDK for integrate changelog in custom HTML node.
The npm package @videsk/headway-sdk receives a total of 10 weekly downloads. As such, @videsk/headway-sdk popularity was classified as not popular.
We found that @videsk/headway-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.