Skip to content

feature(Dropdown): component initialization#20

Merged
Stradivario merged 1 commit intomasterfrom
19-dropdown-component-initialization
Oct 21, 2019
Merged

feature(Dropdown): component initialization#20
Stradivario merged 1 commit intomasterfrom
19-dropdown-component-initialization

Conversation

@Stradivario
Copy link
Copy Markdown
Member

@Stradivario Stradivario commented Oct 21, 2019

Issue

Description

Introduces rx-dropdown component

Screenshots (optional)

Screenshot from 2019-10-21 14-46-56

Usage
import { DropdownComponent } from '@rxdi/ui-kit/dropdown';

@Module({
  components: [DropdownComponent]
})
export class AppModule {}

Inside html

<rx-dropdown
  .menuItems=${[
    html`
      <a href="#" class="item">You need to setup your SSL certificate!</a>
    `,
    html`
      <a href="#" class="item">You need to setup your SSL certificate!</a>
    `,
    html`
      <a href="#" class="item">You need to setup your SSL certificate!</a>
    `
  ]}
>
  <div style="margin-right: 10px;margin-top: 3px;">
    ${notification}
  </div>
</rx-dropdown>

@Stradivario Stradivario force-pushed the 19-dropdown-component-initialization branch from 34ed2f7 to 19e0af9 Compare October 21, 2019 11:50
@Stradivario Stradivario force-pushed the 19-dropdown-component-initialization branch from 19e0af9 to 8b938c3 Compare October 21, 2019 11:54
@Stradivario Stradivario merged commit 2c9af59 into master Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant