Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 537 Bytes

content.md

File metadata and controls

24 lines (18 loc) · 537 Bytes

$content

You can access the content module API operations by using these methods:

fetch({ slug })

Fetch a content using this method. Example:

this.$badaso.$content.fetch({ slug: 'article' });

slug: Content module slug.

  • Type: String
  • Required: Yes

fetchMultiple({ slug })

Fetch multiple content at once using this method. Example:

this.$badaso.$content.fetchMultiple({ slug: 'navbar,footer,body' });

slug: Content module slugs (with comma delimiter).

  • Type: String
  • Required: Yes