-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
enhancementNew feature or requestNew feature or requestnextIssue/Pull Request for the next major versionIssue/Pull Request for the next major version
Description
Enhancement
An ActiveLink
component that applies one of more classes when the target outlet
is matched in the current route.
render() {
return v('div', [
w(ActiveLink, {
to: 'foo',
activeClasses: [ 'fooActive' ]
}, [ 'Label' ]), // applies class when `foo` outlet is matched
w(ActiveLink, {
to: 'bar',
activeClasses: [ 'barActive' ]
}, [ 'Label' ]) // applies class when `bar` outlet is matched
]);
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnextIssue/Pull Request for the next major versionIssue/Pull Request for the next major version