Skip to content

benobee/raven-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Raven

Singleton.

Raven.on

PUB/SUB Pattern. Topic listener that triggers a callback when the particular topic is published.

Parameters

Raven.emit

PUB/SUB Pattern.

Parameters

Raven.component

Component factory method

Parameters

  • componentName string Component name
  • config Object Component configurations

Examples

Raven.component("Button", {
        el: ".button", 
        data() {  
            return {
                buttonName: 'button-click'
            }
        },
        methods: {
            buttonClick() {
                alert("CLICKED");
            }
        }
    });

Returns Object The custom component

About

Core app structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published