We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation Можете ли Вы добавить дополнительный пример - чтобы подключать одним файлом?
import PushwooshGlobal from 'web-push-notifications/classes/Global'; let pushwoosh = new PushwooshGlobal(); pushwoosh.push(['init', { logLevel: 'info', // or debug applicationCode: 'DEAD0-BEAF0', safariWebsitePushID: 'web.com.example.domain', defaultNotificationTitle: 'Pushwoosh', defaultNotificationImage: 'https://cp.pushwoosh.com/img/logo-medium.png' }]);
В плане поддерживать такой вариант подключения - чтоб добавить в общую сборку
The text was updated successfully, but these errors were encountered:
Здравствуйте! импортить можно проще:
import {Pushwoosh} from 'web-push-notifications'; let pushwoosh = new Pushwoosh();
В документацию обязательно добавим, спасибо!
Sorry, something went wrong.
Да, теперь увидел https://github.com/Pushwoosh/web-push-notifications/blob/master/src/index.js
No branches or pull requests
documentation
Можете ли Вы добавить дополнительный пример - чтобы подключать одним файлом?
В плане поддерживать такой вариант подключения - чтоб добавить в общую сборку
The text was updated successfully, but these errors were encountered: