Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isContentScrollable: () =>
!!this.$refs.contentEl && util.isScrollable(this.$refs.contentEl),
areButtonsStacked: () => util.areTopsMisaligned(this.buttons_),
isContentScrollable: () => {
const content = this.content;
return (!!content) ? isScrollable(content) : false;
},
areButtonsStacked: () => {
isContentScrollable: () =>
!!this.$refs.contentEl && util.isScrollable(this.$refs.contentEl),
areButtonsStacked: () => util.areTopsMisaligned(this.buttons_),