Skip to content

pA1nD/penguin-object-save

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

penguin save-button

On the object page, use this component instead of the normal save button.

This makes it possible to access data from an object on another website. E.g. useful to show a list with all blog items.

Example usage

a.cms-btn.btn-save(data-component='SaveButton' data-props={
  field: "nameOfAGlobalField",
  keys: ["image", "name", "content", "url", "type", "startdate", "enddate"]
})

Donot forget to adjust your package.json:

{
  "penguin": {
    "globals": [
      "nameOfAGlobalField"
    ]
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published