Skip to content
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

SDK: Create dotCMSShowControl Angular directive #31268

Open
3 tasks
Tracked by #30943
rjvelazco opened this issue Jan 30, 2025 · 0 comments
Open
3 tasks
Tracked by #30943

SDK: Create dotCMSShowControl Angular directive #31268

rjvelazco opened this issue Jan 30, 2025 · 0 comments

Comments

@rjvelazco
Copy link
Contributor

rjvelazco commented Jan 30, 2025

Parent Issue

#30943

Task

We need to create an Angular directive called dotCMSShowControl that allows developers to conditionally display their own custom edit button (or any other UI control) in edit mode. This directive should only show the targeted element when the UVE is in edit mode.

Proposed Objective

Same as Parent Issue

Proposed Priority

Priority 3 - Average

Acceptance Criteria

Preview Give feedback

Pseudo-Code

<div>
  Hello
  <button dotCMSShowControl>Edit</button>
</div> 

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

Pseudo-code

const MyPage = () => {
  return (
    <div>
      Hello
      <DotCMSShowControls>
        <MyEditButton />
      </DotCMSShowControls>
    </div>
  );
};

Sub-Tasks & Estimates

No response

@rjvelazco rjvelazco changed the title SDK: Create dotCMSShowControl Angular directive SDK: Create dotCMSShowControl Angular directive Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New
Development

No branches or pull requests

1 participant