Skip to content

Base libs for syn modules: events, dom builders, helpers, translations

License

Notifications You must be signed in to change notification settings

davidbarna/syn-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

syn-core

Base libs for syn modules: events, dom builders, helpers, translations...

Services

Messaging

MesssagingUiInterface is provided to allow any external lib to create and set global ui messaging service.

//my-ui-service.es
import core from 'syn-core'

class MyUiMessagingService extends core.messaging.ui.interface

  confirm () {
    window.alert(options.title)
  }
//index.es
import { Messaging } from 'syn-core'
import MyUiMessagingService from './my-ui-service'

Messaging.getInstance().setUIService(new MyUiMessagingService() )

About

Base libs for syn modules: events, dom builders, helpers, translations

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •