Skip to content

Instantly share code, notes, and snippets.

@jimsynz jimsynz/index.hbs
Created May 22, 2018

Embed
What would you like to do?
How to use Semantic UI's visibility module with Semantic UI Ember.
{{#ui-visibility class="ui segment masthead"
once=false
onBottomPassed=(action "mastheadOffScreen")
onBottomPassedReverse=(action "mastheadOnScreen") }}
<div class="ui container">
<h1>Hello, World!</h1>
</div>
{{/ui-visibility}}
import Component from '@ember/component';
import Base from 'semantic-ui-ember/mixins/base';
export default Component.extend(Base, {
module: 'visibility',
classNames: ['ui', 'visibility']
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.