Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Update example-config.js #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/example-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ app.config(['$customElementsProvider', function ($customElementsProvider) {

// 3. call the .register() function with a tag name (including namespace plus dash plus name)
// and the custom element config object (very similar to X-Tag config).
// TODO - add some kind of bulk register option so the source element configs can live elswhere
// you can alternatively register a collection of element definitions
// $customElementsProvider.registerCollection( [elementDefinitions] );
$customElementsProvider.register('smart-button', {

// parent: <elem prototype> (optional) - is the element prototype we wish to inherit from
Expand Down