-
Notifications
You must be signed in to change notification settings - Fork 138
fix(core): signalify text component #13696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for fundamental-ngx ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…t test and copilot instructions
| Pellentesque a fermentum diam, eu fermentum enim. Phasellus faucibus risus id nisi faucibus, ac tempus nisi imperdiet. | ||
| Donec urna felis, ultricies vitae mauris at, convallis aliquet purus. Quisque vitae dapibus nisl, ultrices facilisis nisi. | ||
| Ut bibendum sed tortor eget pretium. Aenean dignissim nec sem non tempor.`; | ||
| protected readonly text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vestibulum justo non dui viverra mattis. Fusce venenatis tortor sit amet neque volutpat, eu mollis eros pulvinar. Duis sagittis aliquam lacus, quis tempor nisi vulputate et. Integer sagittis, metus ac hendrerit luctus, enim diam hendrerit nisl, et pretium turpis magna sed felis. Etiam volutpat condimentum justo at auctor. Sed imperdiet elementum ex, at semper metus vestibulum vitae. Quisque orci odio, tincidunt sed felis et, porta ultricies ligula. Etiam finibus, diam nec ultrices ultricies, odio nisi pretium augue, eget pharetra ipsum massa quis purus. Curabitur ante sapien, pharetra sed convallis non, vehicula nec leo. Fusce et elit aliquet, lobortis urna eu, porttitor eros.`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these text variables all made readonly? Don't want the examples to give the impression that it's required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is wrong If the text is not going to change?
| <fd-text [text]="text" [maxLines]="3" [expandable]="true" [isCollapsed]="false"></fd-text> | ||
| <h3>Expandable text with two-way binding</h3> | ||
| <fd-text [text]="text" [maxLines]="3" [expandable]="true" [(isCollapsed)]="isCollapsed"></fd-text> | ||
| <p>Current state: {{ isCollapsed() ? 'Collapsed' : 'Expanded' }}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
above is the component (fd-text) and below is the headline for the next example h3

signalify text component